Modifier and Type | Class | Description |
---|---|---|
class |
OauthTokenImpl |
Implementation of the
OauthToken interface. |
Modifier and Type | Method | Description |
---|---|---|
OauthToken |
OauthTokenAccessor.getOauthToken() |
Retrieves the OAuth token from the OAuth token property
|
default OauthToken |
OauthTokenAccessor.OauthTokenProperty.letOauthToken(OauthToken aOauthToken) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
OauthToken
(setter) as of OauthTokenAccessor.OauthTokenMutator.setOauthToken(OauthToken) and returns the
very same value (getter). |
Modifier and Type | Method | Description |
---|---|---|
default OauthToken |
OauthTokenAccessor.OauthTokenProperty.letOauthToken(OauthToken aOauthToken) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
OauthToken
(setter) as of OauthTokenAccessor.OauthTokenMutator.setOauthToken(OauthToken) and returns the
very same value (getter). |
void |
OauthTokenAccessor.OauthTokenMutator.setOauthToken(OauthToken aOauthToken) |
Sets the OAuth token for the OAuth token property.
|
B |
OauthTokenAccessor.OauthTokenBuilder.withOAuthToken(OauthToken aOauthToken) |
Sets the OAuth token for the OAuth token property
|
Constructor | Description |
---|---|
OauthTokenImpl(OauthToken aOauthToken) |
Creates a new instance of the
OauthTokenImpl with the current
time being stored for determining validity of the access token via
OauthTokenImpl.isValid() as of OauthTokenImpl.getExpiresIn() . |
Copyright © 2021. All rights reserved.