IServiceTokenHandler.CreateLoginResult Method (TokenInfo, ProviderCredentials, String)

 

Creates a LoginResult containing information generated as a result of a successful login process.

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

Function CreateLoginResult (
	tokenInfo As TokenInfo,
	providerCredentials As ProviderCredentials,
	secretKey As String
) As LoginResult

Parameters

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

The TokenInfo containing the security token to include in the LoginResult.

providerCredentials
Type: Microsoft.WindowsAzure.Mobile.Service.Security.ProviderCredentials

The ProviderCredentials to include as part of the token.

secretKey
Type: System.String

The secret key to sign the token with.

Return Value

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

A LoginResult containing information from a successful login process.

Return to top
Show: