com.liveperson.faas.security.BearerGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of functions-client Show documentation
Show all versions of functions-client Show documentation
Functions client for invoking lambdas via the eventsource gateway (a.k.a Asgard)
package com.liveperson.faas.security;
import com.liveperson.faas.exception.TokenGenerationException;
/**
* Retrieves the bearer token used for authentication purposes on other systems
*
* @author sschwarz
*/
public interface BearerGenerator {
/**
* @return bearer token used for authentication
* @throws TokenGenerationException when token generation fails
*/
String retrieveBearerToken() throws TokenGenerationException;
}