C# Class Tigwi.UI.MockStorage.MockUserStorage

Inheritance: IUserStorage
Datei anzeigen Open project: ismaelbelghiti/Tigwi

Public Methods

Method Description
AssociateOpenIdUri ( System.Guid userId, string openIdUri ) : void
Create ( string login, string email, byte password ) : System.Guid
DeactivateApiKey ( System.Guid userId, System.Guid apiKey ) : void
DeassociateOpenIdUri ( System.Guid userId, string openIdUri ) : void
Delete ( System.Guid userId ) : void
GenerateApiKey ( System.Guid userId, string applicationName ) : System.Guid
GetAccounts ( System.Guid userId ) : HashSet
GetId ( string login ) : System.Guid
GetIdByApiKey ( System.Guid apiKey ) : System.Guid
GetIdByOpenIdUri ( string openIdUri ) : System.Guid
GetInfo ( System.Guid userId ) : IUserInfo
GetMock ( System.Guid userId ) : MockUser
GetPassword ( System.Guid userId ) : byte[]
ListApiKeys ( System.Guid userId ) : string>.Dictionary
ListOpenIdUris ( System.Guid userId ) : HashSet
MockUserStorage ( MockStorage storage ) : System
SetInfo ( System.Guid userId, string email, System.Guid mainAccountId ) : void
SetPassword ( System.Guid userId, byte password ) : void

Method Details

AssociateOpenIdUri() public method

public AssociateOpenIdUri ( System.Guid userId, string openIdUri ) : void
userId System.Guid
openIdUri string
return void

Create() public method

public Create ( string login, string email, byte password ) : System.Guid
login string
email string
password byte
return System.Guid

DeactivateApiKey() public method

public DeactivateApiKey ( System.Guid userId, System.Guid apiKey ) : void
userId System.Guid
apiKey System.Guid
return void

DeassociateOpenIdUri() public method

public DeassociateOpenIdUri ( System.Guid userId, string openIdUri ) : void
userId System.Guid
openIdUri string
return void

Delete() public method

public Delete ( System.Guid userId ) : void
userId System.Guid
return void

GenerateApiKey() public method

public GenerateApiKey ( System.Guid userId, string applicationName ) : System.Guid
userId System.Guid
applicationName string
return System.Guid

GetAccounts() public method

public GetAccounts ( System.Guid userId ) : HashSet
userId System.Guid
return HashSet

GetId() public method

public GetId ( string login ) : System.Guid
login string
return System.Guid

GetIdByApiKey() public method

public GetIdByApiKey ( System.Guid apiKey ) : System.Guid
apiKey System.Guid
return System.Guid

GetIdByOpenIdUri() public method

public GetIdByOpenIdUri ( string openIdUri ) : System.Guid
openIdUri string
return System.Guid

GetInfo() public method

public GetInfo ( System.Guid userId ) : IUserInfo
userId System.Guid
return IUserInfo

GetMock() public method

public GetMock ( System.Guid userId ) : MockUser
userId System.Guid
return MockUser

GetPassword() public method

public GetPassword ( System.Guid userId ) : byte[]
userId System.Guid
return byte[]

ListApiKeys() public method

public ListApiKeys ( System.Guid userId ) : string>.Dictionary
userId System.Guid
return string>.Dictionary

ListOpenIdUris() public method

public ListOpenIdUris ( System.Guid userId ) : HashSet
userId System.Guid
return HashSet

MockUserStorage() public method

public MockUserStorage ( MockStorage storage ) : System
storage MockStorage
return System

SetInfo() public method

public SetInfo ( System.Guid userId, string email, System.Guid mainAccountId ) : void
userId System.Guid
email string
mainAccountId System.Guid
return void

SetPassword() public method

public SetPassword ( System.Guid userId, byte password ) : void
userId System.Guid
password byte
return void