You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Web API called by daemon app need to verify the app roles.
We could just use [Authorize(Roles="")]
But for symmetry proposing to add a ValidateAppRole() method similar to VerifyUserHasAnyAcceptedScope(), but which would test for Roles and Role, instead of Scp/Scopes.
Is your feature request related to a problem? Please describe.
Web API called by daemon app need to verify the app roles.
We could just use [Authorize(Roles="")]
But for symmetry proposing to add a ValidateAppRole() method similar to VerifyUserHasAnyAcceptedScope(), but which would test for Roles and Role, instead of Scp/Scopes.
Note
We'd also need to update https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-protected-web-api-verification-scope-app-roles#verify-app-roles-in-apis-called-by-daemon-apps.
The text was updated successfully, but these errors were encountered: