LoginProvider.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
public virtual LoginResult CreateLoginResult(
ClaimsIdentity claimsIdentity,
string secretKey
)
public:
virtual LoginResult^ CreateLoginResult(
ClaimsIdentity^ claimsIdentity,
String^ secretKey
)
abstract CreateLoginResult :
claimsIdentity:ClaimsIdentity *
secretKey:string -> LoginResult
override CreateLoginResult :
claimsIdentity:ClaimsIdentity *
secretKey:string -> LoginResult
Public Overridable 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 new LoginResult.
Implements
ILoginProvider.CreateLoginResult(ClaimsIdentity, String)
See Also
LoginProvider Class
Microsoft.WindowsAzure.Mobile.Service.Security Namespace
Return to top