Méthode | Description | |
---|---|---|
AzureKeyVaultTokenSigningService ( IPublicKeyProvider publicKeyProvider, IOptions |
Initializes a new instance of the AzureKeyVaultTokenSigningService class.
|
|
SignTokenAsync ( IdentityServer4.Core.Models.Token token ) : Task |
Signs the token.
|
Méthode | Description | |
---|---|---|
CreateHeaderAsync ( IdentityServer4.Core.Models.Token token, |
Creates the JWT header
|
|
CreateJsonWebToken ( IdentityServer4.Core.Models.Token token, |
Creates the json web token.
|
|
CreatePayloadAsync ( IdentityServer4.Core.Models.Token token ) : Task |
Creates the JWT payload
|
|
GetSigningCredentialsAsync ( ) : Task |
Retrieves the signing credential (override to load key from alternative locations)
|
|
SignAsync ( System.IdentityModel.Tokens.JwtSecurityToken jwt ) : Task |
Applies the signature to the JWT
|
Méthode | Description | |
---|---|---|
FromBase64Url ( string base64Url ) : byte[] |
public AzureKeyVaultTokenSigningService ( IPublicKeyProvider publicKeyProvider, IOptions |
||
publicKeyProvider | IPublicKeyProvider | The public key provider. |
options | IOptions |
The options. |
Résultat | System |
protected CreateHeaderAsync ( IdentityServer4.Core.Models.Token token, |
||
token | IdentityServer4.Core.Models.Token | The token. |
keyVaultCredentials | The credentials. | |
Résultat | Task |
protected CreateJsonWebToken ( IdentityServer4.Core.Models.Token token, |
||
token | IdentityServer4.Core.Models.Token | The token. |
credentials | The credentials. | |
Résultat | Task |
protected CreatePayloadAsync ( IdentityServer4.Core.Models.Token token ) : Task |
||
token | IdentityServer4.Core.Models.Token | The token. |
Résultat | Task |
protected GetSigningCredentialsAsync ( ) : Task |
||
Résultat | Task |
protected SignAsync ( System.IdentityModel.Tokens.JwtSecurityToken jwt ) : Task |
||
jwt | System.IdentityModel.Tokens.JwtSecurityToken | The JWT object. |
Résultat | Task |
public SignTokenAsync ( IdentityServer4.Core.Models.Token token ) : Task |
||
token | IdentityServer4.Core.Models.Token | The token. |
Résultat | Task |