File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
google-auth-library-java/oauth2_http/java/com/google/auth/oauth2 Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 3737import com .google .auth .http .AuthHttpConstants ;
3838import com .google .common .annotations .VisibleForTesting ;
3939import com .google .common .base .MoreObjects ;
40- import com .google .common .base .MoreObjects .ToStringHelper ;
4140import com .google .common .base .Preconditions ;
4241import com .google .common .collect .Iterables ;
4342
@@ -131,6 +130,11 @@ public boolean hasRequestMetadataOnly() {
131130 return true ;
132131 }
133132
133+ /**
134+ * Returns the cached access token.
135+ *
136+ * <p>If not set, you should call {@link #refresh()} to fetch and cache an access token.</p>
137+ */
134138 public final AccessToken getAccessToken () {
135139 return temporaryAccess ;
136140 }
You can’t perform that action at this time.
0 commit comments