com.sap.cloud.sdk.cloudplatform.metering.AccessTokenDestination Maven / Gradle / Ivy
/*
* Copyright (c) 2019 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