共用方式為


TokenProviderResult Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.TokenProviderResult

public class TokenProviderResult

Constructor Summary

Constructor Description
TokenProviderResult()

Method Summary

Modifier and Type Method and Description
java.lang.String getAccessToken()
long getExpiresInSeconds()
long getRefreshInSeconds()
java.lang.String getTenantId()
void setAccessToken(String accessToken)
void setExpiresInSeconds(long expiresInSeconds)
void setRefreshInSeconds(long refreshInSeconds)
void setTenantId(String tenantId)

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

Constructor Details

TokenProviderResult

public TokenProviderResult()

Method Details

getAccessToken

public String getAccessToken()

getExpiresInSeconds

public long getExpiresInSeconds()

getRefreshInSeconds

public long getRefreshInSeconds()

getTenantId

public String getTenantId()

setAccessToken

public void setAccessToken(String accessToken)

Parameters:

accessToken

setExpiresInSeconds

public void setExpiresInSeconds(long expiresInSeconds)

Parameters:

expiresInSeconds

setRefreshInSeconds

public void setRefreshInSeconds(long refreshInSeconds)

Parameters:

refreshInSeconds

setTenantId

public void setTenantId(String tenantId)

Parameters:

tenantId

Applies to