Share via


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.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Syntax

protected virtual TokenInfo CreateTokenInfo(
    ClaimsIdentity claimsIdentity,
    ProviderCredentials credentialsClaim,
    string secretKey
)
protected:
virtual TokenInfo^ CreateTokenInfo(
    ClaimsIdentity^ claimsIdentity,
    ProviderCredentials^ credentialsClaim,
    String^ secretKey
)
abstract CreateTokenInfo : 
        claimsIdentity:ClaimsIdentity *
        credentialsClaim:ProviderCredentials *
        secretKey:string -> TokenInfo
override CreateTokenInfo : 
        claimsIdentity:ClaimsIdentity *
        credentialsClaim:ProviderCredentials *
        secretKey:string -> TokenInfo
Protected Overridable Function CreateTokenInfo (
    claimsIdentity As ClaimsIdentity,
    credentialsClaim As ProviderCredentials,
    secretKey As String
) As TokenInfo

Parameters

  • secretKey
    Type: System.String

    The secret key to sign the token with.

Return Value

Type: Microsoft.WindowsAzure.Mobile.Service.Security.TokenInfo

An initialized TokenInfo.

See Also

LoginProvider Class
Microsoft.WindowsAzure.Mobile.Service.Security Namespace

Return to top