C# Class Punchcard.ServiceStackJWT.JsonWebToken

ファイルを表示 Open project: Estyn/ServiceStackJWT

Public Methods

Method Description
ValidateToken ( string token, X509Certificate2 certificate, string audience = null, string issuer = null ) : ClaimsPrincipal

Private Methods

Method Description
ClaimsIdentityFromJwt ( IEnumerable claims, string issuer ) : ClaimsIdentity
ValidateIdentityTokenAsync ( string token, string audience, X509Certificate2 certificate ) : IEnumerable

Method Details

ValidateToken() public static method

public static ValidateToken ( string token, X509Certificate2 certificate, string audience = null, string issuer = null ) : ClaimsPrincipal
token string
certificate X509Certificate2
audience string
issuer string
return ClaimsPrincipal