LoginProvider.CreateLoginResult(ClaimsIdentity, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a login result to return after a successful login.
public virtual Microsoft.WindowsAzure.Mobile.Service.Security.LoginResult CreateLoginResult (System.Security.Claims.ClaimsIdentity claimsIdentity, string secretKey);
abstract member CreateLoginResult : System.Security.Claims.ClaimsIdentity * string -> Microsoft.WindowsAzure.Mobile.Service.Security.LoginResult
override this.CreateLoginResult : System.Security.Claims.ClaimsIdentity * string -> Microsoft.WindowsAzure.Mobile.Service.Security.LoginResult
Public Overridable Function CreateLoginResult (claimsIdentity As ClaimsIdentity, secretKey As String) As LoginResult
Parameters
- claimsIdentity
- ClaimsIdentity
The current logged in identity.
- secretKey
- String
The secret key to sign the token with.
Returns
A new LoginResult.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET