Class UserAuthorizer.Builder (1.24.0)

public static class UserAuthorizer.Builder

Inheritance

java.lang.Object > UserAuthorizer.Builder

Constructors

Builder()

protected Builder()

Builder(UserAuthorizer authorizer)

protected Builder(UserAuthorizer authorizer)
Parameter
Name Description
authorizer UserAuthorizer

Methods

build()

public UserAuthorizer build()
Returns
Type Description
UserAuthorizer

getCallbackUri()

public URI getCallbackUri()
Returns
Type Description
URI

getClientId()

public ClientId getClientId()
Returns
Type Description
ClientId

getHttpTransportFactory()

public HttpTransportFactory getHttpTransportFactory()
Returns
Type Description
HttpTransportFactory

getPKCEProvider()

public PKCEProvider getPKCEProvider()
Returns
Type Description
PKCEProvider

getScopes()

public Collection<String> getScopes()
Returns
Type Description
Collection<String>

getTokenServerUri()

public URI getTokenServerUri()
Returns
Type Description
URI

getTokenStore()

public TokenStore getTokenStore()
Returns
Type Description
TokenStore

getUserAuthUri()

public URI getUserAuthUri()
Returns
Type Description
URI

setCallbackUri(URI callbackUri)

public UserAuthorizer.Builder setCallbackUri(URI callbackUri)
Parameter
Name Description
callbackUri URI
Returns
Type Description
UserAuthorizer.Builder

setClientId(ClientId clientId)

public UserAuthorizer.Builder setClientId(ClientId clientId)
Parameter
Name Description
clientId ClientId
Returns
Type Description
UserAuthorizer.Builder

setHttpTransportFactory(HttpTransportFactory transportFactory)

public UserAuthorizer.Builder setHttpTransportFactory(HttpTransportFactory transportFactory)
Parameter
Name Description
transportFactory HttpTransportFactory
Returns
Type Description
UserAuthorizer.Builder

setPKCEProvider(PKCEProvider pkce)

public UserAuthorizer.Builder setPKCEProvider(PKCEProvider pkce)
Parameter
Name Description
pkce PKCEProvider
Returns
Type Description
UserAuthorizer.Builder

setScopes(Collection<String> scopes)

public UserAuthorizer.Builder setScopes(Collection<String> scopes)
Parameter
Name Description
scopes Collection<String>
Returns
Type Description
UserAuthorizer.Builder

setTokenServerUri(URI tokenServerUri)

public UserAuthorizer.Builder setTokenServerUri(URI tokenServerUri)
Parameter
Name Description
tokenServerUri URI
Returns
Type Description
UserAuthorizer.Builder

setTokenStore(TokenStore tokenStore)

public UserAuthorizer.Builder setTokenStore(TokenStore tokenStore)
Parameter
Name Description
tokenStore TokenStore
Returns
Type Description
UserAuthorizer.Builder

setUserAuthUri(URI userAuthUri)

public UserAuthorizer.Builder setUserAuthUri(URI userAuthUri)
Parameter
Name Description
userAuthUri URI
Returns
Type Description
UserAuthorizer.Builder