We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9429845 + 62c249b commit cb97192Copy full SHA for cb97192
1 file changed
β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