public Task LogoutAsync(LogoutAdto logoutAdto) { return(_securityApplicationService.SecureAsync(() => _identityApplicationService.LogoutAsync(logoutAdto), IdentityAuthorisationContext.Create(logoutAdto.IdentityId, AuthorisationAction.Update))); }
public Task ResendConfirmIdentityAsync(ResendConfirmIdentityAdto resendConfirmIdentityAdto) { return(_securityApplicationService.SecureAsync(() => _identityApplicationService.ResendConfirmIdentityAsync(resendConfirmIdentityAdto), IdentityAuthorisationContext.Create(resendConfirmIdentityAdto.IdentityId, AuthorisationAction.Update))); }
public Task <RefreshTokenIdentityAdto> CreateRefreshTokenAsync(CreateRefreshTokenAdto createRefreshTokenAdto) { return(_securityApplicationService.SecureAsync(() => _identityApplicationService.CreateRefreshTokenAsync(createRefreshTokenAdto), IdentityAuthorisationContext.Create(createRefreshTokenAdto.IdentityId, AuthorisationAction.Update))); }
public Task <PasswordAdto> ChangePasswordAsync(ChangePasswordAdto changePasswordAdto) { return(_securityApplicationService.SecureAsync(() => _identityApplicationService.ChangePasswordAsync(changePasswordAdto), IdentityAuthorisationContext.Create(changePasswordAdto.IdentityId, AuthorisationAction.Update))); }
public Task ConfirmIdentityAsync(ConfirmIdentityAdto confirmIdentityAdto) { return(_securityApplicationService.SecureAsync(() => _identityApplicationService.ConfirmIdentityAsync(confirmIdentityAdto), IdentityAuthorisationContext.Create(confirmIdentityAdto.IdentityId, IdentityAuthorisationAction.Confirm))); }
public Task <IdentityAdto> GetAsync(GetIdentityAdto getIdentityAdto) { return(_securityApplicationService.SecureAsync(() => _identityApplicationService.GetAsync(getIdentityAdto), IdentityAuthorisationContext.Create(getIdentityAdto.Id, AuthorisationAction.Get))); }