Class AzureFunctionsAuthenticationImpl
java.lang.Object
com.commercetools.api.models.extension.AzureFunctionsAuthenticationImpl
- All Implemented Interfaces:
AzureFunctionsAuthentication
,HttpDestinationAuthentication
,io.vrap.rmf.base.client.ModelBase
public class AzureFunctionsAuthenticationImpl
extends Object
implements AzureFunctionsAuthentication, io.vrap.rmf.base.client.ModelBase
To protect your Azure Function, set its authLevel
to function
and provide the function's key to be used inside the x-functions-key
header. For more information, see the Azure Functions documentation.
To protect the secret key from being exposed, remove the code parameter and secret key from the URL. For example, use https://foo.azurewebsites.net/api/bar
instead of https://foo.azurewebsites.net/api/bar?code=secret
.
-
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.AzureFunctionsAuthentication
AZURE_FUNCTIONS
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.extension.AzureFunctionsAuthentication
withAzureFunctionsAuthentication
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
-
AzureFunctionsAuthenticationImpl
public AzureFunctionsAuthenticationImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceHttpDestinationAuthentication
- Returns:
- type
-
getKey
Partially hidden on retrieval for security reasons.
- Specified by:
getKey
in interfaceAzureFunctionsAuthentication
- Returns:
- key
-
setKey
Description copied from interface:AzureFunctionsAuthentication
Partially hidden on retrieval for security reasons.
- Specified by:
setKey
in interfaceAzureFunctionsAuthentication
- Parameters:
key
- value to be set
-
equals
-
hashCode
-