MicrosoftAppCredentials 클래스

public class MicrosoftAppCredentials
extends AppCredentials

MicrosoftAppCredentials 인증 구현 및 캐시.

필드 요약

한정자 및 형식 필드 및 설명
static final java.lang.String MICROSOFTAPPID

Microsoft 앱 암호의 구성 속성입니다.

static final java.lang.String MICROSOFTAPPPASSWORD

Microsoft 앱 ID의 구성 속성입니다.

생성자 요약

생성자 Description
MicrosoftAppCredentials(String withAppId, String withAppPassword)

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

MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant)

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

MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)

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

메서드 요약

한정자 및 형식 메서드 및 설명
protected Authenticator buildAuthenticator()

자격 증명 Authenticator를 반환합니다.

static MicrosoftAppCredentials empty()

빈 자격 증명 집합을 반환합니다.

java.lang.String getAppPassword()

이 자격 증명의 앱 암호를 가져옵니다.

void setAppPassword(String withAppPassword)

이 자격 증명의 앱 암호를 설정합니다.

다음에서 상속된 메서드 AppCredentials

다음에서 상속된 메서드 java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

필드 세부 정보

MICROSOFTAPPID

public static final String MICROSOFTAPPID

Microsoft 앱 암호의 구성 속성입니다.

MICROSOFTAPPPASSWORD

public static final String MICROSOFTAPPPASSWORD

Microsoft 앱 ID의 구성 속성입니다.

생성자 세부 정보

MicrosoftAppCredentials

public MicrosoftAppCredentials(String withAppId, String withAppPassword)

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

매개 변수:

withAppId - Microsoft 앱 ID입니다.
withAppPassword - Microsoft 앱 암호입니다.

MicrosoftAppCredentials

public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant)

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

매개 변수:

withAppId - Microsoft 앱 ID입니다.
withAppPassword - Microsoft 앱 암호입니다.
withChannelAuthTenant - 선택적. oauth 토큰 테넌트입니다.

MicrosoftAppCredentials

public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)

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

매개 변수:

withAppId - Microsoft 앱 ID입니다.
withAppPassword - Microsoft 앱 암호입니다.
withChannelAuthTenant - 선택적. oauth 토큰 테넌트입니다.
withOAuthScope - 토큰의 범위입니다.

메서드 세부 정보

buildAuthenticator

protected Authenticator buildAuthenticator()

자격 증명 Authenticator를 반환합니다.

재정의:

MicrosoftAppCredentials.buildAuthenticator()

반환:

CredentialsAuthenticator입니다.

Throw:

java.net.MalformedURLException - 잘못된 엔드포인트 URL입니다.

empty

public static MicrosoftAppCredentials empty()

빈 자격 증명 집합을 반환합니다.

반환:

빈 MicrosoftAppCredentials 집합입니다.

getAppPassword

public String getAppPassword()

이 자격 증명의 앱 암호를 가져옵니다.

반환:

앱 암호입니다.

setAppPassword

public void setAppPassword(String withAppPassword)

이 자격 증명의 앱 암호를 설정합니다.

매개 변수:

withAppPassword - 앱 암호입니다.

적용 대상