LoginProvider.CreateTokenInfo Method (ClaimsIdentity, ProviderCredentials, String)
Creates the final login token using the specified inputs. Derived classes can override to customize the login token produced.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Protected Overridable Function CreateTokenInfo ( claimsIdentity As ClaimsIdentity, credentialsClaim As ProviderCredentials, secretKey As String ) As TokenInfo
Parameters
- claimsIdentity
-
Type:
System.Security.Claims.ClaimsIdentity
The current logged in identity.
- credentialsClaim
-
Type:
Microsoft.WindowsAzure.Mobile.Service.Security.ProviderCredentials
The provider credentials value to include in the token claims.
- secretKey
-
Type:
System.String
The secret key to sign the token with.
Return Value
Type: Microsoft.WindowsAzure.Mobile.Service.Security.TokenInfoAn initialized TokenInfo.
Show: