public interface IdentityProviderBuilder
IdentityProvider instances.| Modifier and Type | Method and Description |
|---|---|
IdentityProvider |
build()
Construct an Identity Provider using the settings currently contained in this
builder instance.
|
IdentityProviderBuilder |
setAuthorizationEndPoint(java.lang.String authorizationEndPoint)
Set the OAuth2 authorization end point URL.
|
IdentityProviderBuilder |
setDiscoveryEndPoint(java.lang.String discoveryEndPoint)
Set the OAuth2 Identity Provider configuration discovery end point URL.
|
IdentityProviderBuilder |
setLogoutEndPoint(java.lang.String logoutEndPoint)
Set the Identity Provider Un-Authenticate (logout) end point URL.
|
IdentityProviderBuilder |
setRegistrationEndPoint(java.lang.String registrationEndPoint)
Set the OAuth2 client registration end point URL.
|
IdentityProviderBuilder |
setScope(java.lang.String scope)
Set the OAuth2 scope.
|
IdentityProviderBuilder |
setTokenEndPoint(java.lang.String tokenEndPoint)
Set the OAuth2 token end point URL.
|
IdentityProviderBuilder |
setTokenRevocationEndPoint(java.lang.String tokenRevocationEndPoint)
Set the refresh token revocation end point url.
|
IdentityProviderBuilder |
setTokenRevocationMethod(java.lang.String tokenRevocationMethod)
Set the refresh token revocation HTTP method: "POST" or "GET".
|
IdentityProviderBuilder |
setTokenRevocationParameterFormatString(java.lang.String tokenRevocationParameterFormatString)
Set the refresh token revocation parameter format string.
|
IdentityProviderBuilder |
setUserInfoEndPoint(java.lang.String userInfoEndPoint)
Set the OAuth2 user information end point URL.
|
IdentityProviderBuilder setScope(java.lang.String scope)
scope - The OAuth2 scope.null.IdentityProviderBuilder setDiscoveryEndPoint(java.lang.String discoveryEndPoint)
discoveryEndPoint - The Identity Provider configuration discovery end
point URL. This value may be a full URL in which the leftmost part is equal
to the Provider URL. Or, it can be a partial URL that will be appended to the
end of the Provider URL. In the case of a partial URL, if it does not begin
with a slash, a single slash character will be inserted between the Root
URL and the partial URL. May be nullif the end point will not be
defined. If it is the empty string, then it is equivalent to a slash character.null.IdentityProviderBuilder setAuthorizationEndPoint(java.lang.String authorizationEndPoint)
authorizationEndPoint - The authorization end point URL. This value may be
a full URL in which the leftmost part is equal to the Provider URL. Or, it can be
a partial URL that will be appended to the end of the Provider URL. In the case
of a partial URL, if it does not begin with a slash, a single slash character
will be inserted between the Provider URL and the partial URL. May be null
if the end point will not be defined. If it is the empty string, then it is
equivalent to a slash character.null.IdentityProviderBuilder setTokenEndPoint(java.lang.String tokenEndPoint)
tokenEndPoint - The token end point URL. This value may be
a full URL in which the leftmost part is equal to the Provider URL. Or, it can be
a partial URL that will be appended to the end of the Provider URL. In the case
of a partial URL, if it does not begin with a slash, a single slash character
will be inserted between the Provider URL and the partial URL. May be null
if the end point will not be defined. If it is the empty string, then it is
equivalent to a slash character.null.IdentityProviderBuilder setRegistrationEndPoint(java.lang.String registrationEndPoint)
registrationEndPoint - The client registration end point URL. This value may be
a full URL in which the leftmost part is equal to the Provider URL. Or, it can be
a partial URL that will be appended to the end of the Provider URL. In the case
of a partial URL, if it does not begin with a slash, a single slash character
will be inserted between the Provider URL and the partial URL. May be null
if the end point will not be defined. If it is the empty string, then it is
equivalent to a slash character.null.IdentityProviderBuilder setUserInfoEndPoint(java.lang.String userInfoEndPoint)
userInfoEndPoint - The user information end point URL. This value may be
a full URL in which the leftmost part is equal to the Provider URL. Or, it can be
a partial URL that will be appended to the end of the Provider URL. In the case
of a partial URL, if it does not begin with a slash, a single slash character
will be inserted between the Provider URL and the partial URL. May be null
if the end point will not be defined. If it is the empty string, then it is
equivalent to a slash character.null.IdentityProviderBuilder setLogoutEndPoint(java.lang.String logoutEndPoint)
logoutEndPoint - The logout end point URL. This value may be
a full URL in which the leftmost part is equal to the Provider URL. Or, it can be
a partial URL that will be appended to the end of the Provider URL. In the case
of a partial URL, if it does not begin with a slash, a single slash character
will be inserted between the Provider URL and the partial URL. May be null
if the end point will not be defined. If it is the empty string, then it is
equivalent to a slash character.null.IdentityProviderBuilder setTokenRevocationEndPoint(java.lang.String tokenRevocationEndPoint)
tokenRevocationEndPoint - The token revocation end point URL. This value may be
a full URL in which the leftmost part is equal to the Provider URL. Or, it can be
a partial URL that will be appended to the end of the Provider URL. In the case
of a partial URL, if it does not begin with a slash, a single slash character
will be inserted between the Provider URL and the partial URL. May be null
if the end point will not be defined. If it is the empty string, then it is
equivalent to a slash character.null.IdentityProviderBuilder setTokenRevocationMethod(java.lang.String tokenRevocationMethod)
tokenRevocationMethod - The token revocation HTTP method. This value may be
one of two string values: "POST" or "GET".null.IdentityProviderBuilder setTokenRevocationParameterFormatString(java.lang.String tokenRevocationParameterFormatString)
tokenRevocationParameterFormatString - The token revocation parameter format string.null.IdentityProvider build() throws AuthenticatorException
AuthenticatorException - on any attempt to create an Identity Provider
with an invalid configuration.