C# Class IdentityServer3.Contrib.AzureKeyVaultTokenSigningService.AzureKeyVaultTokenSigningService

Inheritance: ITokenSigningService
Afficher le fichier Open project: MattCotterellNZ/IdentityServer.Contrib.AzureKeyVaultTokenSigningService

Méthodes publiques

Méthode Description
AzureKeyVaultTokenSigningService ( IPublicKeyProvider publicKeyProvider, IOptions options ) : System

Initializes a new instance of the AzureKeyVaultTokenSigningService class.

SignTokenAsync ( Token token ) : Task

Signs the token.

Méthodes protégées

Méthode Description
CreateHeader ( IdentityServer3.Core.Models.Token token, AzureKeyVaultSigningCredentials keyVaultCredentials ) : JwtHeader

Creates the JWT header

CreateJsonWebToken ( IdentityServer3.Core.Models.Token token, AzureKeyVaultSigningCredentials credentials ) : Task

Creates the json web token.

CreatePayload ( IdentityServer3.Core.Models.Token token ) : JwtPayload

Creates the JWT payload

GetSigningCredentialsAsync ( ) : Task

Retrieves the signing credential (override to load key from alternative locations)

SignAsync ( JwtSecurityToken jwt ) : Task

Applies the signature to the JWT

Private Methods

Méthode Description
FromBase64Url ( string base64Url ) : byte[]

Method Details

AzureKeyVaultTokenSigningService() public méthode

Initializes a new instance of the AzureKeyVaultTokenSigningService class.
public AzureKeyVaultTokenSigningService ( IPublicKeyProvider publicKeyProvider, IOptions options ) : System
publicKeyProvider IPublicKeyProvider The public key provider.
options IOptions The options.
Résultat System

CreateHeader() protected méthode

Creates the JWT header
protected CreateHeader ( IdentityServer3.Core.Models.Token token, AzureKeyVaultSigningCredentials keyVaultCredentials ) : JwtHeader
token IdentityServer3.Core.Models.Token The token.
keyVaultCredentials AzureKeyVaultSigningCredentials The credentials.
Résultat JwtHeader

CreateJsonWebToken() protected méthode

Creates the json web token.
protected CreateJsonWebToken ( IdentityServer3.Core.Models.Token token, AzureKeyVaultSigningCredentials credentials ) : Task
token IdentityServer3.Core.Models.Token The token.
credentials AzureKeyVaultSigningCredentials The credentials.
Résultat Task

CreatePayload() protected méthode

Creates the JWT payload
protected CreatePayload ( IdentityServer3.Core.Models.Token token ) : JwtPayload
token IdentityServer3.Core.Models.Token The token.
Résultat JwtPayload

GetSigningCredentialsAsync() protected méthode

Retrieves the signing credential (override to load key from alternative locations)
protected GetSigningCredentialsAsync ( ) : Task
Résultat Task

SignAsync() protected méthode

Applies the signature to the JWT
protected SignAsync ( JwtSecurityToken jwt ) : Task
jwt JwtSecurityToken The JWT object.
Résultat Task

SignTokenAsync() public méthode

Signs the token.
public SignTokenAsync ( Token token ) : Task
token Token The token.
Résultat Task