![JAR search and dependency download from the Maven repository](/logo.png)
com.sap.cloud.sdk.cloudplatform.metering.AccessTokenDestination Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metering-scp-neo Show documentation
Show all versions of metering-scp-neo Show documentation
Implementation of the Cloud platform abstraction for API metering functionality
on the SAP Cloud Platform (Neo).
/*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.sap.cloud.sdk.cloudplatform.metering;
import javax.servlet.annotation.WebListener;
import com.sap.cloud.sdk.cloudplatform.connectivity.DestinationDeclarator;
/**
* Specifies the destination necessary to receive an authentication token.
*/
@WebListener
public class AccessTokenDestination extends DestinationDeclarator
{
private static final String DESTINATION_NAME = "AccessTokenEndpoint";
/**
* The name of the destination needed to obtain an access token.
*
* @return The name of the authentication destination.
*/
public static String getDefaultName()
{
return DESTINATION_NAME;
}
/**
* Default constructor.
*/
public AccessTokenDestination()
{
super(getDefaultName());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy