다음을 통해 공유


AppCredentials 클래스

정의

인증 및 캐싱을 위한 AAD 자격 증명의 기본 추상화입니다.

public abstract class AppCredentials : Microsoft.Rest.ServiceClientCredentials
type AppCredentials = class
    inherit ServiceClientCredentials
Public MustInherit Class AppCredentials
Inherits ServiceClientCredentials
상속
Microsoft.Rest.ServiceClientCredentials
AppCredentials
파생

생성자

AppCredentials(String, HttpClient, ILogger, String)

AppCredentials 클래스의 새 인스턴스를 초기화합니다.

AppCredentials(String, HttpClient, ILogger)

AppCredentials 클래스의 새 인스턴스를 초기화합니다.

속성

AuthTenant

이 자격 증명에 대한 채널 인증 토큰 테넌트 가져오거나 설정합니다.

ChannelAuthTenant

채널 인증에 사용할 테넌트 값을 가져오거나 설정합니다.

CustomHttpClient

이 자격 증명에 대한 채널 인증 토큰 테넌트 가져오거나 설정합니다.

DefaultChannelAuthTenant

DefaultChannelAuthTenant를 가져옵니다.

Logger

이 자격 증명에 대한 채널 인증 토큰 테넌트 가져오거나 설정합니다.

MicrosoftAppId

이 자격 증명에 대한 Microsoft 앱 ID를 가져오거나 설정합니다.

OAuthEndpoint

사용할 OAuth 엔드포인트를 가져옵니다.

OAuthScope

사용할 OAuth 범위를 가져옵니다.

ToChannelFromBotLoginUrlTemplate

ToChannelFromBotLoginUrlTemplate을 가져옵니다.

ToChannelFromBotOAuthScope

ToChannelFromBotOAuthScope를 가져옵니다.

ValidateAuthority

기관의 유효성을 검사할지 여부를 나타내는 값을 가져옵니다.

메서드

BuildIAuthenticator()

토큰 획득에 사용할 지연 IAuthenticator 빌드합니다.

GetTokenAsync(Boolean)

OAuth 액세스 토큰을 가져옵니다.

IsTrustedServiceUrl(String)
사용되지 않음.

서비스 URL이 신뢰할 수 있는 호스트에 대한 것인지 여부를 확인합니다.

ProcessHttpRequestAsync(HttpRequestMessage, CancellationToken)

HTTP 요청에 자격 증명을 적용합니다.

TrustServiceUrl(String, DateTime)
사용되지 않음.

MicrosoftAppCredentials 신뢰할 수 있는 호스트에 서비스 URL의 호스트를 추가합니다.

TrustServiceUrl(String)
사용되지 않음.

MicrosoftAppCredentials 신뢰할 수 있는 호스트에 서비스 URL의 호스트를 추가합니다.

적용 대상