AuthenticationResultMetadata.AuthenticationResultMetadataBuilder Clase

  • java.lang.Object
    • com.microsoft.aad.msal4j.AuthenticationResultMetadata.AuthenticationResultMetadataBuilder

public static class AuthenticationResultMetadata.AuthenticationResultMetadataBuilder

Resumen del método

Modificador y tipo Método y descripción
AuthenticationResultMetadata build()
AuthenticationResultMetadataBuilder cacheRefreshReason(CacheRefreshReason cacheRefreshReason)

Especifica el motivo para actualizar el token de acceso, consulte CacheRefreshReason para ver los valores posibles.

AuthenticationResultMetadataBuilder refreshOn(Long refreshOn)

Cuando el token se debe actualizar de forma proactiva.

AuthenticationResultMetadataBuilder tokenSource(TokenSource tokenSource)

El origen de los tokens de AuthenticationResult, consulte TokenSource para ver los valores posibles.

java.lang.String toString()

Métodos heredados de 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

Detalles del método

build

public AuthenticationResultMetadata build()

cacheRefreshReason

public AuthenticationResultMetadata.AuthenticationResultMetadataBuilder cacheRefreshReason(CacheRefreshReason cacheRefreshReason)

Especifica el motivo para actualizar el token de acceso, consulte CacheRefreshReason para ver los valores posibles. NOT_APPLICABLE Será si el token se devolvió de la memoria caché o si la API usada para capturar el token no intenta leer la memoria caché.

Parámetros:

cacheRefreshReason

Devoluciones:

this.

refreshOn

public AuthenticationResultMetadata.AuthenticationResultMetadataBuilder refreshOn(Long refreshOn)

Cuando el token se debe actualizar de forma proactiva. Puede ser null o 0 si no se usa la actualización proactiva.

Parámetros:

refreshOn

Devoluciones:

this.

tokenSource

public AuthenticationResultMetadata.AuthenticationResultMetadataBuilder tokenSource(TokenSource tokenSource)

El origen de los tokens de AuthenticationResult, consulte TokenSource para ver los valores posibles.

Parámetros:

tokenSource

Devoluciones:

this.

toString

public String toString()

Invalidaciones:

AuthenticationResultMetadata.AuthenticationResultMetadataBuilder.toString()

Se aplica a