|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.microsoft.aad.adal.AuthenticationResult
public class AuthenticationResult
Result class to keep code, token and other info Serializable properties Mark temp properties as Transient if you dont want to keep them in serialization.
| Nested Class Summary | |
|---|---|
static class |
AuthenticationResult.AuthenticationStatus
Status for authentication. |
| Method Summary | |
|---|---|
String |
createAuthorizationHeader()
Uses access token to create header for web requests. |
String |
getAccessToken()
Access token to send to the service in Authorization Header. |
String |
getAccessTokenType()
Token type. |
String |
getErrorCode()
Gets error code. |
String |
getErrorDescription()
Gets error description. |
String |
getErrorLogInfo()
Gets error log info. |
Date |
getExpiresOn()
Epoch time for expiresOn. |
String |
getIdToken()
Get raw idtoken. |
boolean |
getIsMultiResourceRefreshToken()
Multi-resource refresh tokens can be used to request token for another resource. |
String |
getRefreshToken()
Refresh token to get new tokens. |
AuthenticationResult.AuthenticationStatus |
getStatus()
Gets status. |
String |
getTenantId()
Gets tenantId. |
UserInfo |
getUserInfo()
UserInfo returned from IdToken. |
boolean |
isExpired()
Checks expiration time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String createAuthorizationHeader()
public String getAccessToken()
public String getRefreshToken()
public String getAccessTokenType()
public Date getExpiresOn()
Datepublic boolean getIsMultiResourceRefreshToken()
public UserInfo getUserInfo()
UserInfopublic String getTenantId()
public AuthenticationResult.AuthenticationStatus getStatus()
AuthenticationResult.AuthenticationStatuspublic String getErrorCode()
public String getErrorDescription()
public String getErrorLogInfo()
public boolean isExpired()
public String getIdToken()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||