java.lang.Object
io.avaje.http.client.AuthToken.Basic
- All Implemented Interfaces:
AuthToken
- Enclosing interface:
AuthToken
Standard AuthToken implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.avaje.http.client.AuthToken
AuthToken.Basic -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDuration until expiration.booleanWhether the token has expired or no longer valid.token()The Authorization bearer token.
-
Constructor Details
-
Basic
Create with token and valid until time.
-
-
Method Details
-
token
Description copied from interface:AuthTokenThe Authorization bearer token. -
isExpired
public boolean isExpired()Description copied from interface:AuthTokenWhether the token has expired or no longer valid. -
expiration
Description copied from interface:AuthTokenDuration until expiration.- Specified by:
expirationin interfaceAuthToken
-