Method | Description | |
---|---|---|
GetUserFromApiKey ( IDocumentSession ravenSession, string apiKey ) : IUserIdentity | ||
RemoveApiKey ( IDocumentSession ravenSession, string apiKey ) : void | ||
SetUserPassword ( |
||
ValidateUser ( IDocumentSession ravenSession, string username, string password ) : string |
Method | Description | |
---|---|---|
CompareByteArrays ( byte array1, byte array2 ) : bool | ||
CreateSalt ( int size ) : byte[] | ||
GenerateSaltedHash ( string plainText, byte saltBytes ) : byte[] | ||
GetApiKeyDocumentId ( string apiKey ) : string |
public static GetUserFromApiKey ( IDocumentSession ravenSession, string apiKey ) : IUserIdentity | ||
ravenSession | IDocumentSession | |
apiKey | string | |
return | IUserIdentity |
public static RemoveApiKey ( IDocumentSession ravenSession, string apiKey ) : void | ||
ravenSession | IDocumentSession | |
apiKey | string | |
return | void |
public static SetUserPassword ( |
||
user | ||
password | string | |
return |
public static ValidateUser ( IDocumentSession ravenSession, string username, string password ) : string | ||
ravenSession | IDocumentSession | |
username | string | |
password | string | |
return | string |