Uses of Class
com.google.auth.oauth2.UserAuthorizer.Builder
Packages that use UserAuthorizer.Builder
-
Uses of UserAuthorizer.Builder in com.google.auth.oauth2
Methods in com.google.auth.oauth2 that return UserAuthorizer.BuilderModifier and TypeMethodDescriptionstatic UserAuthorizer.Builder
UserAuthorizer.newBuilder()
UserAuthorizer.Builder.setCallbackUri
(URI callbackUri) Sets the redirect URI registered with your OAuth provider.UserAuthorizer.Builder.setClientAuthenticationType
(UserAuthorizer.ClientAuthenticationType clientAuthentication) Sets the optionalUserAuthorizer.ClientAuthenticationType
, one of the client authentication methods defined in RFC 7591.UserAuthorizer.Builder.setClientId
(ClientId clientId) Sets the OAuth 2.0 client ID.UserAuthorizer.Builder.setHttpTransportFactory
(HttpTransportFactory transportFactory) Sets the HTTP transport factory.UserAuthorizer.Builder.setPKCEProvider
(PKCEProvider pkce) Sets the optionalPKCEProvider
to enable Proof Key for Code Exchange to be used.UserAuthorizer.Builder.setScopes
(Collection<String> scopes) Sets the OAuth 2.0 scopes to request.UserAuthorizer.Builder.setTokenServerUri
(URI tokenServerUri) Sets the token exchange endpoint.UserAuthorizer.Builder.setTokenStore
(TokenStore tokenStore) Sets theTokenStore
to use for long term token storage.UserAuthorizer.Builder.setUserAuthUri
(URI userAuthUri) Sets the authorization URI where the user is directed to log in and grant authorization.UserAuthorizer.toBuilder()
Constructors in com.google.auth.oauth2 with parameters of type UserAuthorizer.BuilderModifierConstructorDescriptionprivate
UserAuthorizer
(UserAuthorizer.Builder builder) Internal constructor.