Package | Description |
---|---|
org.forgerock.openig.filter.oauth2.client |
OAuth 2.0 Client filter implementation.
|
Modifier and Type | Method and Description |
---|---|
OAuth2ClientFilter |
OAuth2ClientFilter.addProvider(OAuth2Provider provider)
Adds an authorization provider.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setClientEndpoint(Expression endpoint)
Sets the expression which will be used for obtaining the base URI for the
following client end-points:
{endpoint}/callback - called by the authorization server
once authorization has completed
{endpoint}/login?provider={name}[&goto={url}] - user
end-point for performing user initiated authentication, such as from a
"login" link or "NASCAR" login page.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setDefaultLoginGoto(Expression endpoint)
Sets the expression which will be used for obtaining the default login
"goto" URI.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setDefaultLogoutGoto(Expression endpoint)
Sets the expression which will be used for obtaining the default logout
"goto" URI.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setFailureHandler(Handler handler)
Sets the handler which will be invoked when authentication fails.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setLoginHandler(Handler handler)
Sets the handler which will be invoked when the user needs to
authenticate.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setProviderHandler(Handler handler)
Sets the handler which will be used for communicating with the
authorization server.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setRequireHttps(boolean requireHttps)
Specifies whether all incoming requests must use TLS.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setRequireLogin(boolean requireLogin)
Specifies whether authentication is required for all incoming requests.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setScopes(List<Expression> scopes)
Sets the expressions which will be used for obtaining the OAuth 2 scopes.
|
OAuth2ClientFilter |
OAuth2ClientFilter.setTarget(Expression target)
Sets the expression which will be used for storing authorization
information in the exchange.
|
Copyright © 2014 ForgeRock AS. All rights reserved.