Method | Description | |
---|---|---|
ChangePasswordAsync ( string name, string oldPassword, string newPassword ) : Task |
||
CreateAsync ( VirtoCommerce.Platform.Core.Security.ApplicationUserExtended user ) : Task |
||
DeleteAsync ( string names ) : System.Threading.Tasks.Task | ||
FindByEmailAsync ( string email, UserDetails detailsLevel ) : Task |
||
FindByIdAsync ( string userId, UserDetails detailsLevel ) : Task |
||
FindByLoginAsync ( string loginProvider, string providerKey, UserDetails detailsLevel ) : Task |
||
FindByNameAsync ( string userName, UserDetails detailsLevel ) : Task |
||
GenerateNewApiAccount ( ApiAccountType type ) : VirtoCommerce.Platform.Core.Security.ApiAccount | ||
GeneratePasswordResetTokenAsync ( string userId ) : Task |
||
GetAllPermissions ( ) : VirtoCommerce.Platform.Core.Security.Permission[] | ||
GetUserPermissions ( string userName ) : VirtoCommerce.Platform.Core.Security.Permission[] | ||
ResetPasswordAsync ( string name, string newPassword ) : Task |
||
ResetPasswordAsync ( string userId, string token, string newPassword ) : Task |
||
SearchUsersAsync ( VirtoCommerce.Platform.Core.Security.UserSearchRequest request ) : Task |
||
SecurityService ( Func |
||
UpdateAsync ( VirtoCommerce.Platform.Core.Security.ApplicationUserExtended user ) : Task |
||
UserHasAnyPermission ( string userName, string scopes ) : bool |
Method | Description | |
---|---|---|
GetUserExtended ( VirtoCommerce.Platform.Data.Security.Identity.ApplicationUser applicationUser, UserDetails detailsLevel ) : VirtoCommerce.Platform.Core.Security.ApplicationUserExtended | ||
IsEditableUser ( string userName ) : bool | ||
LoadAllPermissions ( ) : VirtoCommerce.Platform.Core.Security.Permission[] | ||
ValidateUser ( VirtoCommerce.Platform.Data.Security.Identity.ApplicationUser dbUser ) : VirtoCommerce.Platform.Core.Security.SecurityResult |
public ChangePasswordAsync ( string name, string oldPassword, string newPassword ) : Task |
||
name | string | |
oldPassword | string | |
newPassword | string | |
return | Task |
public CreateAsync ( VirtoCommerce.Platform.Core.Security.ApplicationUserExtended user ) : Task |
||
user | VirtoCommerce.Platform.Core.Security.ApplicationUserExtended | |
return | Task |
public DeleteAsync ( string names ) : System.Threading.Tasks.Task | ||
names | string | |
return | System.Threading.Tasks.Task |
public FindByEmailAsync ( string email, UserDetails detailsLevel ) : Task |
||
string | ||
detailsLevel | UserDetails | |
return | Task |
public FindByIdAsync ( string userId, UserDetails detailsLevel ) : Task |
||
userId | string | |
detailsLevel | UserDetails | |
return | Task |
public FindByLoginAsync ( string loginProvider, string providerKey, UserDetails detailsLevel ) : Task |
||
loginProvider | string | |
providerKey | string | |
detailsLevel | UserDetails | |
return | Task |
public FindByNameAsync ( string userName, UserDetails detailsLevel ) : Task |
||
userName | string | |
detailsLevel | UserDetails | |
return | Task |
public GenerateNewApiAccount ( ApiAccountType type ) : VirtoCommerce.Platform.Core.Security.ApiAccount | ||
type | ApiAccountType | |
return | VirtoCommerce.Platform.Core.Security.ApiAccount |
public GeneratePasswordResetTokenAsync ( string userId ) : Task |
||
userId | string | |
return | Task |
public GetAllPermissions ( ) : VirtoCommerce.Platform.Core.Security.Permission[] | ||
return | VirtoCommerce.Platform.Core.Security.Permission[] |
public GetUserPermissions ( string userName ) : VirtoCommerce.Platform.Core.Security.Permission[] | ||
userName | string | |
return | VirtoCommerce.Platform.Core.Security.Permission[] |
public ResetPasswordAsync ( string name, string newPassword ) : Task |
||
name | string | |
newPassword | string | |
return | Task |
public ResetPasswordAsync ( string userId, string token, string newPassword ) : Task |
||
userId | string | |
token | string | |
newPassword | string | |
return | Task |
public SearchUsersAsync ( VirtoCommerce.Platform.Core.Security.UserSearchRequest request ) : Task |
||
request | VirtoCommerce.Platform.Core.Security.UserSearchRequest | |
return | Task |
public SecurityService ( Func |
||
platformRepository | Func |
|
userManagerFactory | Func |
|
apiAccountProvider | IApiAccountProvider | |
securityOptions | ISecurityOptions | |
manifestProvider | IModuleManifestProvider | |
permissionScopeService | IPermissionScopeService | |
cacheManager | CacheManager | |
return | System |
public UpdateAsync ( VirtoCommerce.Platform.Core.Security.ApplicationUserExtended user ) : Task |
||
user | VirtoCommerce.Platform.Core.Security.ApplicationUserExtended | |
return | Task |
public UserHasAnyPermission ( string userName, string scopes ) : bool | ||
userName | string | |
scopes | string | |
return | bool |