Skip to content

Commit

Permalink
Removed uselles ValidateActor configuration (not necessary in this ex…
Browse files Browse the repository at this point in the history
…ample)
  • Loading branch information
evgomes committed Jul 29, 2018
1 parent f5944b7 commit 20b19a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ If the request token is invalid, you will receive a 400 response:

#### Revoking refresh tokens

Now imagine you want the user to sign out, or you want to revoke a refresh token by any reason. You can revoke a refresh token doing a POST request to `http://localhost:5000/api/token/revoke`, passing a valid refresh token into the body of the request.
Now imagine you want the user to sign out, or you want to revoke a refresh token by any reason. You can revoke a refresh token making a POST request to `http://localhost:5000/api/token/revoke`, passing a valid refresh token into the body of the request.

```
{
Expand Down
1 change: 0 additions & 1 deletion src/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public void ConfigureServices(IServiceCollection services)
{
jwtBearerOptions.TokenValidationParameters = new TokenValidationParameters()
{
ValidateActor = true,
ValidateAudience = true,
ValidateLifetime = true,
ValidateIssuerSigningKey = true,
Expand Down

0 comments on commit 20b19a2

Please sign in to comment.