Class UserAuthorizer.Builder (1.18.0)

public static class UserAuthorizer.Builder

Inheritance

java.lang.Object > UserAuthorizer.Builder

Constructors

Builder()

protected Builder()

Builder(UserAuthorizer authorizer)

protected Builder(UserAuthorizer authorizer)
Parameter
NameDescription
authorizerUserAuthorizer

Methods

build()

public UserAuthorizer build()
Returns
TypeDescription
UserAuthorizer

getCallbackUri()

public URI getCallbackUri()
Returns
TypeDescription
URI

getClientId()

public ClientId getClientId()
Returns
TypeDescription
ClientId

getHttpTransportFactory()

public HttpTransportFactory getHttpTransportFactory()
Returns
TypeDescription
HttpTransportFactory

getPKCEProvider()

public PKCEProvider getPKCEProvider()
Returns
TypeDescription
PKCEProvider

getScopes()

public Collection<String> getScopes()
Returns
TypeDescription
Collection<String>

getTokenServerUri()

public URI getTokenServerUri()
Returns
TypeDescription
URI

getTokenStore()

public TokenStore getTokenStore()
Returns
TypeDescription
TokenStore

getUserAuthUri()

public URI getUserAuthUri()
Returns
TypeDescription
URI

setCallbackUri(URI callbackUri)

public UserAuthorizer.Builder setCallbackUri(URI callbackUri)
Parameter
NameDescription
callbackUriURI
Returns
TypeDescription
UserAuthorizer.Builder

setClientId(ClientId clientId)

public UserAuthorizer.Builder setClientId(ClientId clientId)
Parameter
NameDescription
clientIdClientId
Returns
TypeDescription
UserAuthorizer.Builder

setHttpTransportFactory(HttpTransportFactory transportFactory)

public UserAuthorizer.Builder setHttpTransportFactory(HttpTransportFactory transportFactory)
Parameter
NameDescription
transportFactoryHttpTransportFactory
Returns
TypeDescription
UserAuthorizer.Builder

setPKCEProvider(PKCEProvider pkce)

public UserAuthorizer.Builder setPKCEProvider(PKCEProvider pkce)
Parameter
NameDescription
pkcePKCEProvider
Returns
TypeDescription
UserAuthorizer.Builder

setScopes(Collection<String> scopes)

public UserAuthorizer.Builder setScopes(Collection<String> scopes)
Parameter
NameDescription
scopesCollection<String>
Returns
TypeDescription
UserAuthorizer.Builder

setTokenServerUri(URI tokenServerUri)

public UserAuthorizer.Builder setTokenServerUri(URI tokenServerUri)
Parameter
NameDescription
tokenServerUriURI
Returns
TypeDescription
UserAuthorizer.Builder

setTokenStore(TokenStore tokenStore)

public UserAuthorizer.Builder setTokenStore(TokenStore tokenStore)
Parameter
NameDescription
tokenStoreTokenStore
Returns
TypeDescription
UserAuthorizer.Builder

setUserAuthUri(URI userAuthUri)

public UserAuthorizer.Builder setUserAuthUri(URI userAuthUri)
Parameter
NameDescription
userAuthUriURI
Returns
TypeDescription
UserAuthorizer.Builder