public static class UserAuthorizer.Builder extends Object
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(UserAuthorizer authorizer) |
Modifier and Type | Method and Description |
---|---|
UserAuthorizer |
build() |
URI |
getCallbackUri() |
ClientId |
getClientId() |
HttpTransportFactory |
getHttpTransportFactory() |
PKCEProvider |
getPKCEProvider() |
Collection<String> |
getScopes() |
URI |
getTokenServerUri() |
TokenStore |
getTokenStore() |
URI |
getUserAuthUri() |
UserAuthorizer.Builder |
setCallbackUri(URI callbackUri) |
UserAuthorizer.Builder |
setClientId(ClientId clientId) |
UserAuthorizer.Builder |
setHttpTransportFactory(HttpTransportFactory transportFactory) |
UserAuthorizer.Builder |
setPKCEProvider(PKCEProvider pkce) |
UserAuthorizer.Builder |
setScopes(Collection<String> scopes) |
UserAuthorizer.Builder |
setTokenServerUri(URI tokenServerUri) |
UserAuthorizer.Builder |
setTokenStore(TokenStore tokenStore) |
UserAuthorizer.Builder |
setUserAuthUri(URI userAuthUri) |
protected Builder()
protected Builder(UserAuthorizer authorizer)
public UserAuthorizer.Builder setClientId(ClientId clientId)
public UserAuthorizer.Builder setTokenStore(TokenStore tokenStore)
public UserAuthorizer.Builder setScopes(Collection<String> scopes)
public UserAuthorizer.Builder setTokenServerUri(URI tokenServerUri)
public UserAuthorizer.Builder setCallbackUri(URI callbackUri)
public UserAuthorizer.Builder setUserAuthUri(URI userAuthUri)
public UserAuthorizer.Builder setHttpTransportFactory(HttpTransportFactory transportFactory)
public UserAuthorizer.Builder setPKCEProvider(PKCEProvider pkce)
public ClientId getClientId()
public TokenStore getTokenStore()
public Collection<String> getScopes()
public URI getTokenServerUri()
public URI getCallbackUri()
public URI getUserAuthUri()
public HttpTransportFactory getHttpTransportFactory()
public PKCEProvider getPKCEProvider()
public UserAuthorizer build()
Copyright © 2023 Google. All rights reserved.