public class AppAuthConfigurer
extends java.lang.Object
| Constructor and Description |
|---|
AppAuthConfigurer(FRUser.Browser parent) |
| Modifier and Type | Method and Description |
|---|---|
AppAuthConfigurer |
appAuthConfiguration(<any> appAuthConfiguration)
Override the
AppAuthConfiguration that was prepared by the SDK. |
AppAuthConfigurer |
authorizationRequest(<any> authorizationRequest)
Override the
AuthorizationRequest that was prepared by the SDK. |
AppAuthConfigurer |
authorizationServiceConfiguration(<any> authorizationServiceConfiguration)
Override the default OAuth2 endpoint defined under the String.xml forgerock_url.
|
AppAuthConfigurer |
customTabsIntent(<any> customTabsIntent)
Override the
CustomTabsIntent that was prepared by the SDK. |
FRUser.Browser |
done()
Finish up the AppAuth customization.
|
public AppAuthConfigurer(FRUser.Browser parent)
public AppAuthConfigurer authorizationServiceConfiguration(<any> authorizationServiceConfiguration)
authorizationServiceConfiguration - Supplier that provide the AuthorizationServiceConfiguration,
oauth2 endpoint.public AppAuthConfigurer authorizationRequest(<any> authorizationRequest)
AuthorizationRequest that was prepared by the SDK.
The client_id, response type (code), redirect uri, scope are populated by the configuration defined under
string.xml forgerock_oauth_client_id, forgerock_oauth_redirect_uri, forgerock_oauth_scope. Developer can provide more
customization on the AuthorizationRequest object, for example AuthorizationRequest.Builder#setPrompt(String)authorizationRequest - Consumer that override the AuthorizationRequest,
some attributes are pre-populated by the provided
AuthorizationRequestpublic AppAuthConfigurer appAuthConfiguration(<any> appAuthConfiguration)
AppAuthConfiguration that was prepared by the SDK.appAuthConfiguration - Consumer that override the AppAuthConfigurationpublic AppAuthConfigurer customTabsIntent(<any> customTabsIntent)
CustomTabsIntent that was prepared by the SDK.customTabsIntent - Consumer that override the CustomTabsIntent,
possibleUris (CustomTabManager#createTabBuilder(android.net.Uri...)) is
pre-populated by the provided CustomTabsIntentpublic FRUser.Browser done()