TokenCacheAccessContext.TokenCacheAccessContextBuilder Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.TokenCacheAccessContext.TokenCacheAccessContextBuilder

public static class TokenCacheAccessContext.TokenCacheAccessContextBuilder

Method Summary

Modifier and Type Method and Description
TokenCacheAccessContextBuilder account(IAccount account)
TokenCacheAccessContext build()
TokenCacheAccessContextBuilder clientId(String clientId)
TokenCacheAccessContextBuilder hasCacheChanged(boolean hasCacheChanged)
java.lang.String toString()
TokenCacheAccessContextBuilder tokenCache(ITokenCache tokenCache)

Methods inherited from 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

Method Details

account

public TokenCacheAccessContext.TokenCacheAccessContextBuilder account(IAccount account)

Parameters:

account

build

public TokenCacheAccessContext build()

clientId

public TokenCacheAccessContext.TokenCacheAccessContextBuilder clientId(String clientId)

Parameters:

clientId

hasCacheChanged

public TokenCacheAccessContext.TokenCacheAccessContextBuilder hasCacheChanged(boolean hasCacheChanged)

Parameters:

hasCacheChanged

toString

public String toString()

Overrides:

TokenCacheAccessContext.TokenCacheAccessContextBuilder.toString()

tokenCache

public TokenCacheAccessContext.TokenCacheAccessContextBuilder tokenCache(ITokenCache tokenCache)

Parameters:

tokenCache

Applies to