Skip to content

Commit df34079

Browse files
committed
chore: Add javadoc for public method
1 parent 54e0199 commit df34079

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

oauth2_http/java/com/google/auth/oauth2/GdchCredentials.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ static String getIssuerSubjectValue(String projectId, String serviceIdentityName
276276
return String.format("system:serviceaccount:%s:%s", projectId, serviceIdentityName);
277277
}
278278

279+
/**
280+
* @return the projectId set in the GDCH SA Key file or the user set projectId
281+
*/
279282
@Override
280283
public final String getProjectId() {
281284
return projectId;

oauth2_http/java/com/google/auth/oauth2/ServiceAccountCredentials.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,9 @@ public final String getServiceAccountUser() {
798798
return serviceAccountUser;
799799
}
800800

801+
/**
802+
* @return the projectId set in the SA Key file or the user set projectId
803+
*/
801804
@Override
802805
public final String getProjectId() {
803806
return projectId;

0 commit comments

Comments
 (0)