Class AccessToken
- java.lang.Object
-
- com.azure.android.core.credential.AccessToken
-
public class AccessToken extends java.lang.Object
Represents an immutable access token with a token string and an expiration time.
-
-
Constructor Summary
Constructors Constructor Description AccessToken(java.lang.String token, org.threeten.bp.OffsetDateTime expiresAt)
Creates an access token instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.threeten.bp.OffsetDateTime
getExpiresAt()
java.lang.String
getToken()
boolean
isExpired()
-