C# 클래스 Microsoft.Legal.MatterCenter.Web.Common.KeyVaultHelper

파일 보기 프로젝트 열기: Microsoft/mattercenter 1 사용 예제들

공개 메소드들

메소드 설명
GetAccessToken ( string authority, string resource, string scope ) : Task

Uses the ClientId and Screet to get an AD tokenok

GetCert ( IConfiguration configurtaion ) : void

GetKeyVaultSecretsCerticate ( ) : void

GetKeyVaultSecretsSecret ( ) : void

GetToken ( string authority, string resource, string scope ) : Task

KeyVaultHelper ( IConfigurationRoot configuration ) : System

비공개 메소드들

메소드 설명
retrieveSecrets ( bool cert ) : String>.Dictionary

메소드 상세

GetAccessToken() 공개 정적인 메소드

Uses the ClientId and Screet to get an AD tokenok
public static GetAccessToken ( string authority, string resource, string scope ) : Task
authority string
resource string
scope string
리턴 Task

GetCert() 공개 정적인 메소드

public static GetCert ( IConfiguration configurtaion ) : void
configurtaion IConfiguration
리턴 void

GetKeyVaultSecretsCerticate() 공개 메소드

public GetKeyVaultSecretsCerticate ( ) : void
리턴 void

GetKeyVaultSecretsSecret() 공개 메소드

public GetKeyVaultSecretsSecret ( ) : void
리턴 void

GetToken() 공개 메소드

public GetToken ( string authority, string resource, string scope ) : Task
authority string
resource string
scope string
리턴 Task

KeyVaultHelper() 공개 메소드

public KeyVaultHelper ( IConfigurationRoot configuration ) : System
configuration IConfigurationRoot
리턴 System