We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 078e95e + 6192eb0 commit 0596c93Copy full SHA for 0596c93
1 file changed
google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/UserCredentials.java
@@ -129,6 +129,29 @@ public AccessToken refreshAccessToken() throws IOException {
129
return access;
130
}
131
132
+ /**
133
+ * Returns client ID of the credential from the console.
134
+ *
135
+ * @return client ID
136
+ */
137
+ public final String getClientId() {
138
+ return clientId;
139
+ }
140
+
141
142
+ * Returns client secret of the credential from the console.
143
144
+ * @return client secret
145
146
+ public final String getClientSecret() {
147
+ return clientSecret;
148
149
150
151
+ * Returns the refresh token resulting from a OAuth2 consent flow.
152
153
+ * @return refresh token
154
155
public final String getRefreshToken() {
156
return refreshToken;
157
0 commit comments