AuthenticationResultMetadata.AuthenticationResultMetadataBuilder クラス
- java.
lang. Object - com.
microsoft. aad. msal4j. AuthenticationResultMetadata. AuthenticationResultMetadataBuilder
- com.
public static class AuthenticationResultMetadata.AuthenticationResultMetadataBuilder
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
|
Authentication |
build() |
|
Authentication |
cacheRefreshReason(CacheRefreshReason cacheRefreshReason)
アクセス トークンを更新する理由を指定します。使用可能な値については、 CacheRefreshReason を参照してください。 |
|
Authentication |
refreshOn(Long refreshOn)
トークンを事前に更新する必要がある場合。 |
|
Authentication |
tokenSource(TokenSource tokenSource)
AuthenticationResult内のトークンのソースについては、使用可能な値のTokenSourceを参照してください |
| java.lang.String | toString() |
メソッドの継承元: java.lang.Object
メソッドの詳細
build
public AuthenticationResultMetadata build()
cacheRefreshReason
public AuthenticationResultMetadata.AuthenticationResultMetadataBuilder cacheRefreshReason(CacheRefreshReason cacheRefreshReason)
アクセス トークンを更新する理由を指定します。使用可能な値については、 CacheRefreshReason を参照してください。 トークンがキャッシュから返された場合、またはトークンのフェッチに使用された API がキャッシュの読み取りを試みない場合は、 NOT_APPLICABLE されます。
パラメーター:
返品:
this。refreshOn
public AuthenticationResultMetadata.AuthenticationResultMetadataBuilder refreshOn(Long refreshOn)
トークンを事前に更新する必要がある場合。 プロアクティブ更新を使用しない場合は null または 0 になる可能性があります
パラメーター:
返品:
this。tokenSource
public AuthenticationResultMetadata.AuthenticationResultMetadataBuilder tokenSource(TokenSource tokenSource)
AuthenticationResult内のトークンのソースについては、使用可能な値のTokenSourceを参照してください
パラメーター:
返品:
this。toString
public String toString()
上書き:
AuthenticationResultMetadata.AuthenticationResultMetadataBuilder.toString()