C# Class SaaSOvation.IdentityAccess.Domain.Model.Access.AuthorizationService

Afficher le fichier Open project: eulerfx/IDDD_Samples_NET

Méthodes publiques

Méthode Description
AuthorizationService ( IUserRepository userRepository, IGroupRepository groupRepository, IRoleRepository roleRepository ) : SaaSOvation.Common.Domain.Model
IsUserInRole ( TenantId tenantId, string username, string roleName ) : bool
IsUserInRole ( SaaSOvation.IdentityAccess.Domain.Model.Identity.User user, string roleName ) : bool

Method Details

AuthorizationService() public méthode

public AuthorizationService ( IUserRepository userRepository, IGroupRepository groupRepository, IRoleRepository roleRepository ) : SaaSOvation.Common.Domain.Model
userRepository IUserRepository
groupRepository IGroupRepository
roleRepository IRoleRepository
Résultat SaaSOvation.Common.Domain.Model

IsUserInRole() public méthode

public IsUserInRole ( TenantId tenantId, string username, string roleName ) : bool
tenantId SaaSOvation.IdentityAccess.Domain.Model.Identity.TenantId
username string
roleName string
Résultat bool

IsUserInRole() public méthode

public IsUserInRole ( SaaSOvation.IdentityAccess.Domain.Model.Identity.User user, string roleName ) : bool
user SaaSOvation.IdentityAccess.Domain.Model.Identity.User
roleName string
Résultat bool