C# Class Microsoft.Azure.Mobile.Server.Login.AppServiceLoginHandler

Mostra file Open project: Azure/azure-mobile-apps-net-server

Public Methods

Method Description
CreateToken ( IEnumerable claims, string secretKey, string audience, string issuer, System.TimeSpan lifetime ) : System.IdentityModel.Tokens.JwtSecurityToken

Private Methods

Method Description
CreateTokenFromClaims ( IEnumerable claims, string secretKey, string audience, string issuer, System.TimeSpan lifetime ) : System.IdentityModel.Tokens.JwtSecurityToken

Method Details

CreateToken() public static method

public static CreateToken ( IEnumerable claims, string secretKey, string audience, string issuer, System.TimeSpan lifetime ) : System.IdentityModel.Tokens.JwtSecurityToken
claims IEnumerable
secretKey string
audience string
issuer string
lifetime System.TimeSpan
return System.IdentityModel.Tokens.JwtSecurityToken