ServiceTokenHandler.CreateLoginResult Method

Definition

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

public virtual Microsoft.WindowsAzure.Mobile.Service.Security.LoginResult CreateLoginResult (Microsoft.WindowsAzure.Mobile.Service.Security.TokenInfo tokenInfo, Microsoft.WindowsAzure.Mobile.Service.Security.ProviderCredentials providerCredentials, string secretKey);
abstract member CreateLoginResult : Microsoft.WindowsAzure.Mobile.Service.Security.TokenInfo * Microsoft.WindowsAzure.Mobile.Service.Security.ProviderCredentials * string -> Microsoft.WindowsAzure.Mobile.Service.Security.LoginResult
override this.CreateLoginResult : Microsoft.WindowsAzure.Mobile.Service.Security.TokenInfo * Microsoft.WindowsAzure.Mobile.Service.Security.ProviderCredentials * string -> Microsoft.WindowsAzure.Mobile.Service.Security.LoginResult
Public Overridable Function CreateLoginResult (tokenInfo As TokenInfo, providerCredentials As ProviderCredentials, secretKey As String) As LoginResult

Parameters

tokenInfo
TokenInfo

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

providerCredentials
ProviderCredentials

The ProviderCredentials to include as part of the token.

secretKey
String

The secret key to sign the token with.

Returns

A LoginResult containing information from a successful login process.

Implements

Applies to