Class ExternalOAuthImpl
- All Implemented Interfaces:
ExternalOAuth
,io.vrap.rmf.base.client.ModelBase
Represents a RFC 7662 compliant OAuth 2.0 Token Introspection endpoint. For more information, see Requesting an access token using an external OAuth 2.0 server.
You can only configure one external OAuth 2.0 endpoint per Project. To authenticate using multiple external services (such as social network logins), use a middle layer authentication service.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Must not contain any leading or trailing whitespaces.getUrl()
URL with authorization header.int
hashCode()
void
setAuthorizationHeader
(String authorizationHeader) Must not contain any leading or trailing whitespaces.void
URL with authorization header.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.project.ExternalOAuth
withExternalOAuth
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ExternalOAuthImpl
public ExternalOAuthImpl()create empty instance
-
-
Method Details
-
getUrl
URL with authorization header. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
- Specified by:
getUrl
in interfaceExternalOAuth
- Returns:
- url
-
getAuthorizationHeader
Must not contain any leading or trailing whitespaces. Partially hidden on retrieval.
- Specified by:
getAuthorizationHeader
in interfaceExternalOAuth
- Returns:
- authorizationHeader
-
setUrl
Description copied from interface:ExternalOAuth
URL with authorization header. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
- Specified by:
setUrl
in interfaceExternalOAuth
- Parameters:
url
- value to be set
-
setAuthorizationHeader
Description copied from interface:ExternalOAuth
Must not contain any leading or trailing whitespaces. Partially hidden on retrieval.
- Specified by:
setAuthorizationHeader
in interfaceExternalOAuth
- Parameters:
authorizationHeader
- value to be set
-
equals
-
hashCode
-