Method | Description | |
---|---|---|
AzureKeyVaultTokenSigningService ( IPublicKeyProvider publicKeyProvider, IOptions |
Initializes a new instance of the AzureKeyVaultTokenSigningService class.
|
|
SignTokenAsync ( Token token ) : Task |
Signs the token.
|
Method | Description | |
---|---|---|
CreateHeader ( IdentityServer3.Core.Models.Token token, |
Creates the JWT header
|
|
CreateJsonWebToken ( IdentityServer3.Core.Models.Token token, |
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
|
Method | Description | |
---|---|---|
FromBase64Url ( string base64Url ) : byte[] |
public AzureKeyVaultTokenSigningService ( IPublicKeyProvider publicKeyProvider, IOptions |
||
publicKeyProvider | IPublicKeyProvider | The public key provider. |
options | IOptions |
The options. |
return | System |
protected CreateHeader ( IdentityServer3.Core.Models.Token token, |
||
token | IdentityServer3.Core.Models.Token | The token. |
keyVaultCredentials | The credentials. | |
return | JwtHeader |
protected CreateJsonWebToken ( IdentityServer3.Core.Models.Token token, |
||
token | IdentityServer3.Core.Models.Token | The token. |
credentials | The credentials. | |
return | Task |
protected CreatePayload ( IdentityServer3.Core.Models.Token token ) : JwtPayload | ||
token | IdentityServer3.Core.Models.Token | The token. |
return | JwtPayload |
protected GetSigningCredentialsAsync ( ) : Task |
||
return | Task |
protected SignAsync ( JwtSecurityToken jwt ) : Task |
||
jwt | JwtSecurityToken | The JWT object. |
return | Task |
public SignTokenAsync ( Token token ) : Task |
||
token | Token | The token. |
return | Task |