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 하세요. NOT_APPLICABLE 토큰이 캐시에서 반환되었거나 토큰을 가져오는 데 사용된 API가 캐시를 읽으려고 시도하지 않는 경우입니다.
매개 변수:
반품:
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()