C# 클래스 Affecto.IdentityManagement.ApplicationServices.UserService

상속: IUserService
파일 보기 프로젝트 열기: affecto/dotnet-IdentityManagement 1 사용 예제들

공개 메소드들

메소드 설명
AddUser ( string accountName, Affecto.IdentityManagement.Interfaces.Model.AccountType type, string displayName, IEnumerable authenticatedGroups ) : System.Guid
AddUser ( string accountName, Affecto.IdentityManagement.Interfaces.Model.AccountType type, string displayName, IEnumerable authenticatedGroups, string>.IEnumerable customProperties ) : System.Guid
GetUser ( string accountName, Affecto.IdentityManagement.Interfaces.Model.AccountType accountType ) : IUser
IsExistingUserAccount ( string accountName, Affecto.IdentityManagement.Interfaces.Model.AccountType accountType ) : bool
IsMatchingPassword ( string accountName, string password ) : bool
UpdateUserGroupsAndRoles ( string accountName, Affecto.IdentityManagement.Interfaces.Model.AccountType accountType, IEnumerable authenticatedGroups ) : void
UserService ( IQueryService queryService, Lazy commandBus ) : System

비공개 메소드들

메소드 설명
AddGroup ( System.Guid userId, System.Guid groupId ) : void
AddRole ( System.Guid userId, System.Guid roleId ) : void
GetGroupsWithExternalGroup ( IReadOnlyCollection groups ) : IEnumerable
GetRolesWithExternalGroup ( IReadOnlyCollection roles ) : IEnumerable
RemoveGroup ( System.Guid userId, System.Guid groupId ) : void
RemoveRole ( System.Guid userId, System.Guid roleId ) : void
SetRolesAndGroups ( System.Guid userId, IEnumerable authenticatedGroups ) : void
SetUserGroups ( System.Guid userId, IReadOnlyList authenticatedGroups ) : void
SetUserRoles ( System.Guid userId, IReadOnlyList authenticatedGroups ) : void

메소드 상세

AddUser() 공개 메소드

public AddUser ( string accountName, Affecto.IdentityManagement.Interfaces.Model.AccountType type, string displayName, IEnumerable authenticatedGroups ) : System.Guid
accountName string
type Affecto.IdentityManagement.Interfaces.Model.AccountType
displayName string
authenticatedGroups IEnumerable
리턴 System.Guid

AddUser() 공개 메소드

public AddUser ( string accountName, Affecto.IdentityManagement.Interfaces.Model.AccountType type, string displayName, IEnumerable authenticatedGroups, string>.IEnumerable customProperties ) : System.Guid
accountName string
type Affecto.IdentityManagement.Interfaces.Model.AccountType
displayName string
authenticatedGroups IEnumerable
customProperties string>.IEnumerable
리턴 System.Guid

GetUser() 공개 메소드

public GetUser ( string accountName, Affecto.IdentityManagement.Interfaces.Model.AccountType accountType ) : IUser
accountName string
accountType Affecto.IdentityManagement.Interfaces.Model.AccountType
리턴 IUser

IsExistingUserAccount() 공개 메소드

public IsExistingUserAccount ( string accountName, Affecto.IdentityManagement.Interfaces.Model.AccountType accountType ) : bool
accountName string
accountType Affecto.IdentityManagement.Interfaces.Model.AccountType
리턴 bool

IsMatchingPassword() 공개 메소드

public IsMatchingPassword ( string accountName, string password ) : bool
accountName string
password string
리턴 bool

UpdateUserGroupsAndRoles() 공개 메소드

public UpdateUserGroupsAndRoles ( string accountName, Affecto.IdentityManagement.Interfaces.Model.AccountType accountType, IEnumerable authenticatedGroups ) : void
accountName string
accountType Affecto.IdentityManagement.Interfaces.Model.AccountType
authenticatedGroups IEnumerable
리턴 void

UserService() 공개 메소드

public UserService ( IQueryService queryService, Lazy commandBus ) : System
queryService IQueryService
commandBus Lazy
리턴 System