ILoginProvider.CreateLoginResult Method (ClaimsIdentity, String)
Creates a login result to return after a successful login
Namespace: Microsoft.WindowsAzure.Mobile.Service.Security
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Syntax
LoginResult CreateLoginResult(
ClaimsIdentity claimsIdentity,
string secretKey
)
LoginResult^ CreateLoginResult(
ClaimsIdentity^ claimsIdentity,
String^ secretKey
)
abstract CreateLoginResult :
claimsIdentity:ClaimsIdentity *
secretKey:string -> LoginResult
Function CreateLoginResult (
claimsIdentity As ClaimsIdentity,
secretKey As String
) As LoginResult
Parameters
claimsIdentity
Type: System.Security.Claims.ClaimsIdentityThe current logged in identity
secretKey
Type: System.StringThe secret key to sign the token with
Return Value
Type: Microsoft.WindowsAzure.Mobile.Service.Security.LoginResult
A LoginResult containing the authentication information
See Also
ILoginProvider Interface
Microsoft.WindowsAzure.Mobile.Service.Security Namespace
Return to top