Send feedback
Class UserAuthorizer.Builder (1.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.6.1 keyboard_arrow_down
public static class UserAuthorizer . Builder
Constructors
Builder()
Builder(UserAuthorizer authorizer)
protected Builder ( UserAuthorizer authorizer )
Parameter
Methods
build()
public UserAuthorizer build ()
Returns
getCallbackUri()
public URI getCallbackUri ()
Returns
getClientId()
public ClientId getClientId ()
Returns
getHttpTransportFactory()
public HttpTransportFactory getHttpTransportFactory ()
Returns
getScopes()
public Collection<String> getScopes ()
Returns
getTokenServerUri()
public URI getTokenServerUri ()
Returns
getTokenStore()
public TokenStore getTokenStore ()
Returns
getUserAuthUri()
public URI getUserAuthUri ()
Returns
setCallbackUri(URI callbackUri)
public UserAuthorizer . Builder setCallbackUri ( URI callbackUri )
Parameter
Name Description callbackUri
URI
Returns
setClientId(ClientId clientId)
public UserAuthorizer . Builder setClientId ( ClientId clientId )
Parameter
Returns
setHttpTransportFactory(HttpTransportFactory transportFactory)
public UserAuthorizer . Builder setHttpTransportFactory ( HttpTransportFactory transportFactory )
Parameter
Returns
setScopes(Collection<String> scopes)
public UserAuthorizer . Builder setScopes ( Collection<String> scopes )
Parameter
Returns
setTokenServerUri(URI tokenServerUri)
public UserAuthorizer . Builder setTokenServerUri ( URI tokenServerUri )
Parameter
Name Description tokenServerUri
URI
Returns
setTokenStore(TokenStore tokenStore)
public UserAuthorizer . Builder setTokenStore ( TokenStore tokenStore )
Parameter
Returns
setUserAuthUri(URI userAuthUri)
public UserAuthorizer . Builder setUserAuthUri ( URI userAuthUri )
Parameter
Name Description userAuthUri
URI
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-30 UTC."],[],[]]