Esempio n. 1
0
 private async Task <bool> IsUserRoleAuthorized(string hashedAccountId, params Role[] roles)
 {
     return(await _employerCommitmentsOrchestrator.AuthorizeRole(hashedAccountId, OwinWrapper.GetClaimValue(@"sub"), roles));
 }