Skip to content
Permalink
Browse files
feat: updated JwtClaims.Builder methods to public (#396)
Made this public so that the user could create JwtClaims instance.
  • Loading branch information
rahulKQL authored and chingor13 committed Jan 15, 2020
1 parent 37f153f commit 9e5de14263a01d746af2fc192cf1b82a2acff35c
Showing with 6 additions and 6 deletions.
  1. +6 −6 oauth2_http/java/com/google/auth/oauth2/JwtClaims.java
@@ -110,15 +110,15 @@ public boolean isComplete() {
}

@AutoValue.Builder
abstract static class Builder {
abstract Builder setAudience(String audience);
public abstract static class Builder {
public abstract Builder setAudience(String audience);

abstract Builder setIssuer(String issuer);
public abstract Builder setIssuer(String issuer);

abstract Builder setSubject(String subject);
public abstract Builder setSubject(String subject);

abstract Builder setAdditionalClaims(Map<String, String> additionalClaims);
public abstract Builder setAdditionalClaims(Map<String, String> additionalClaims);

abstract JwtClaims build();
public abstract JwtClaims build();
}
}

0 comments on commit 9e5de14

Please sign in to comment.