C# Class Microsoft.Identity.Client.Internal.JsonWebToken

Datei anzeigen Open project: AzureAD/microsoft-authentication-library-for-dotnet Class Usage Examples

Public Properties

Property Type Description
Payload JWTPayload

Public Methods

Method Description
JsonWebToken ( string clientId, string audience ) : System
Sign ( IClientAssertionCertificate credential ) : ClientAssertion

Private Methods

Method Description
ConvertToTimeT ( System.DateTime time ) : long
Encode ( IClientAssertionCertificate credential ) : string
EncodeHeaderToJson ( IClientAssertionCertificate credential ) : string
EncodeSegment ( string segment ) : string
UrlEncodeSegment ( byte segment ) : string

Method Details

JsonWebToken() public method

public JsonWebToken ( string clientId, string audience ) : System
clientId string
audience string
return System

Sign() public method

public Sign ( IClientAssertionCertificate credential ) : ClientAssertion
credential IClientAssertionCertificate
return ClientAssertion

Property Details

Payload public_oe property

public JWTPayload Payload
return JWTPayload