Class JwtBearerGrant.Builder
java.lang.Object
com.codename1.backend.security.oauth2.client.credentials.JwtBearerGrant.Builder
- Enclosing class:
JwtBearerGrant
-
Method Summary
Modifier and TypeMethodDescriptionassertionLifetimeSeconds(long seconds) aud: the token endpoint unless set.build()scopes(Collection<String> scopes) scopesInAssertion(boolean inAssertion) Where the scopes go: ascopeform parameter (false, the default, as RFC 7521 section 4.1 and RFC 6749 section 3.3 define it) or ascopeclaim in the assertion (true, as Google expects; the Google builder sets it).sub: whom the token acts for.transport(TokenEndpoint.Transport transport)
-
Method Details
-
subject
sub: whom the token acts for. The issuer itself unless set; for a Google Workspace domain-wide delegation, the user being impersonated. -
audience
aud: the token endpoint unless set. -
scopes
-
scopes
-
scopesInAssertion
Where the scopes go: ascopeform parameter (false, the default, as RFC 7521 section 4.1 and RFC 6749 section 3.3 define it) or ascopeclaim in the assertion (true, as Google expects; the Google builder sets it). -
assertionLifetimeSeconds
-
transport
-
clock
-
build
-