Skip to content

Commit dfab3b2

Browse files
committed
Documentation update #79
1 parent 6977ee2 commit dfab3b2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

samples/Controllers/JwtBearerSample/Controllers/AuthController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public AuthController(IJwtBearerService jwtBearerService)
2121
[HttpPost("login")]
2222
[ProducesResponseType(typeof(LoginResponse), StatusCodes.Status200OK)]
2323
[ProducesDefaultResponseType]
24-
[SwaggerOperation(description: "Insert permissions in the scope property (for example: 'profile people_admin')")]
24+
[SwaggerOperation(description: "Insert permissions in the scope property (for example: 'profile people:admin')")]
2525
public ActionResult<LoginResponse> Login(LoginRequest loginRequest, DateTime? expiration = null)
2626
{
2727
// Check for login rights...

samples/MinimalApis/JwtBearerSample/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
})
8787
.WithOpenApi(operation =>
8888
{
89-
operation.Description = "Insert permissions in the scope property (for example: 'profile people_admin')";
89+
operation.Description = "Insert permissions in the scope property (for example: 'profile people:admin')";
9090
return operation;
9191
});
9292

0 commit comments

Comments
 (0)