File tree Expand file tree Collapse file tree
Controllers/JwtBearerSample/Controllers
MinimalApis/JwtBearerSample Expand file tree Collapse file tree Original file line number Diff line number Diff 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...
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments