C# Class IdentityServer.UserStore.UserRepository

Inheritance: IUserRepository
Mostrar archivo Open project: GeertHuls/SecuredApi

Public Methods

Method Description
AddUserLoginAsync ( string subject, string loginProvider, string providerKey ) : System.Threading.Tasks.Task
GetUserAsync ( string subject ) : Task
GetUserAsync ( string userName, string password ) : Task
GetUserByEmailAsync ( string email ) : Task
GetUserForExternalProviderAsync ( string loginProvider, string providerKey ) : Task
SaveUser ( User newUser ) : void
UserRepository ( string jsonFileLocation ) : System

Private Methods

Method Description
GetJsonFile ( ) : IFileInfo
ReadUserStoreFile ( ) : void
Save ( ) : void

Method Details

AddUserLoginAsync() public method

public AddUserLoginAsync ( string subject, string loginProvider, string providerKey ) : System.Threading.Tasks.Task
subject string
loginProvider string
providerKey string
return System.Threading.Tasks.Task

GetUserAsync() public method

public GetUserAsync ( string subject ) : Task
subject string
return Task

GetUserAsync() public method

public GetUserAsync ( string userName, string password ) : Task
userName string
password string
return Task

GetUserByEmailAsync() public method

public GetUserByEmailAsync ( string email ) : Task
email string
return Task

GetUserForExternalProviderAsync() public method

public GetUserForExternalProviderAsync ( string loginProvider, string providerKey ) : Task
loginProvider string
providerKey string
return Task

SaveUser() public method

public SaveUser ( User newUser ) : void
newUser User
return void

UserRepository() public method

public UserRepository ( string jsonFileLocation ) : System
jsonFileLocation string
return System