C# 클래스 IdentityServer4.Contrib.AzureKeyVaultTokenSigningService.AzureKeyVaultTokenSigningService

상속: ITokenSigningService
파일 보기 프로젝트 열기: MattCotterellNZ/IdentityServer.Contrib.AzureKeyVaultTokenSigningService

공개 메소드들

메소드 설명
AzureKeyVaultTokenSigningService ( IPublicKeyProvider publicKeyProvider, IOptions options ) : System

Initializes a new instance of the AzureKeyVaultTokenSigningService class.

SignTokenAsync ( IdentityServer4.Core.Models.Token token ) : Task

Signs the token.

보호된 메소드들

메소드 설명
CreateHeaderAsync ( IdentityServer4.Core.Models.Token token, AzureKeyVaultSigningCredentials keyVaultCredentials ) : Task

Creates the JWT header

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

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

비공개 메소드들

메소드 설명
FromBase64Url ( string base64Url ) : byte[]

메소드 상세

AzureKeyVaultTokenSigningService() 공개 메소드

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.
리턴 System

CreateHeaderAsync() 보호된 메소드

Creates the JWT header
protected CreateHeaderAsync ( IdentityServer4.Core.Models.Token token, AzureKeyVaultSigningCredentials keyVaultCredentials ) : Task
token IdentityServer4.Core.Models.Token The token.
keyVaultCredentials AzureKeyVaultSigningCredentials The credentials.
리턴 Task

CreateJsonWebToken() 보호된 메소드

Creates the json web token.
protected CreateJsonWebToken ( IdentityServer4.Core.Models.Token token, AzureKeyVaultSigningCredentials credentials ) : Task
token IdentityServer4.Core.Models.Token The token.
credentials AzureKeyVaultSigningCredentials The credentials.
리턴 Task

CreatePayloadAsync() 보호된 메소드

Creates the JWT payload
protected CreatePayloadAsync ( IdentityServer4.Core.Models.Token token ) : Task
token IdentityServer4.Core.Models.Token The token.
리턴 Task

GetSigningCredentialsAsync() 보호된 메소드

Retrieves the signing credential (override to load key from alternative locations)
protected GetSigningCredentialsAsync ( ) : Task
리턴 Task

SignAsync() 보호된 메소드

Applies the signature to the JWT
protected SignAsync ( System.IdentityModel.Tokens.JwtSecurityToken jwt ) : Task
jwt System.IdentityModel.Tokens.JwtSecurityToken The JWT object.
리턴 Task

SignTokenAsync() 공개 메소드

Signs the token.
public SignTokenAsync ( IdentityServer4.Core.Models.Token token ) : Task
token IdentityServer4.Core.Models.Token The token.
리턴 Task