MicrosoftAppCredentials クラス

public class MicrosoftAppCredentials
extends AppCredentials

MicrosoftAppCredentials 認証の実装とキャッシュ。

フィールドの概要

修飾子と型 フィールドと説明
static final java.lang.String MICROSOFTAPPID

Microsoft アプリパスワードの構成プロパティ。

static final java.lang.String MICROSOFTAPPPASSWORD

Microsoft アプリ ID の構成プロパティ。

コンストラクターの概要

コンストラクター 説明
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()

資格情報認証子を返します。

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()

資格情報認証子を返します。

上書き:

MicrosoftAppCredentials.buildAuthenticator()

戻り値:

CredentialsAuthenticator。

スロー:

java.net.MalformedURLException - エンドポイント URL が無効です。

empty

public static MicrosoftAppCredentials empty()

空の資格情報セットを返します。

戻り値:

MicrosoftAppCredentials の空のセット。

getAppPassword

public String getAppPassword()

この資格情報のアプリ パスワードを取得します。

戻り値:

アプリのパスワード。

setAppPassword

public void setAppPassword(String withAppPassword)

この資格情報のアプリ パスワードを設定します。

パラメーター:

withAppPassword - アプリのパスワード。

適用対象