Class OAuth2Credentials.AsyncRefreshResult
java.lang.Object
com.google.auth.oauth2.OAuth2Credentials.AsyncRefreshResult
- Enclosing class:
OAuth2Credentials
Result from
OAuth2Credentials.getOrCreateRefreshTask().
Contains the the refresh task and a flag indicating if the task is newly created. If the task is newly created, it is the caller's responsibility to execute it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final OAuth2Credentials.RefreshTask -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
task
-
isNew
private final boolean isNew
-
-
Constructor Details
-
AsyncRefreshResult
AsyncRefreshResult(OAuth2Credentials.RefreshTask task, boolean isNew)
-
-
Method Details
-
executeIfNew
-