메소드 | 설명 | |
---|---|---|
GetUserFromApiKey ( IDocumentSession ravenSession, string apiKey ) : IUserIdentity | ||
RemoveApiKey ( IDocumentSession ravenSession, string apiKey ) : void | ||
SetUserPassword ( |
||
ValidateUser ( IDocumentSession ravenSession, string username, string password ) : string |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | IUserIdentity |
public static RemoveApiKey ( IDocumentSession ravenSession, string apiKey ) : void | ||
ravenSession | IDocumentSession | |
apiKey | string | |
리턴 | void |
public static SetUserPassword ( |
||
user | ||
password | string | |
리턴 |
public static ValidateUser ( IDocumentSession ravenSession, string username, string password ) : string | ||
ravenSession | IDocumentSession | |
username | string | |
password | string | |
리턴 | string |