Class AuthorizationHeaderAuthenticationImpl
java.lang.Object
com.commercetools.api.models.extension.AuthorizationHeaderAuthenticationImpl
- All Implemented Interfaces:
AuthorizationHeaderAuthentication
,HttpDestinationAuthentication
,io.vrap.rmf.base.client.ModelBase
public class AuthorizationHeaderAuthenticationImpl
extends Object
implements AuthorizationHeaderAuthentication, io.vrap.rmf.base.client.ModelBase
The Authorization
header will be set to the content of headerValue
. The authentication scheme (such as Basic
or Bearer
) should be included in the headerValue
.
For example, the headerValue
for Basic Authentication should be set to Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.extension.AuthorizationHeaderAuthentication
AUTHORIZATION_HEADER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Partially hidden on retrieval for security reasons.getType()
int
hashCode()
void
setHeaderValue
(String headerValue) Partially hidden on retrieval for security reasons.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.extension.AuthorizationHeaderAuthentication
withAuthorizationHeaderAuthentication
Methods inherited from interface com.commercetools.api.models.extension.HttpDestinationAuthentication
withHttpDestinationAuthentication
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AuthorizationHeaderAuthenticationImpl
public AuthorizationHeaderAuthenticationImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceHttpDestinationAuthentication
- Returns:
- type
-
getHeaderValue
Partially hidden on retrieval for security reasons.
- Specified by:
getHeaderValue
in interfaceAuthorizationHeaderAuthentication
- Returns:
- headerValue
-
setHeaderValue
Description copied from interface:AuthorizationHeaderAuthentication
Partially hidden on retrieval for security reasons.
- Specified by:
setHeaderValue
in interfaceAuthorizationHeaderAuthentication
- Parameters:
headerValue
- value to be set
-
equals
-
hashCode
public int hashCode()
-