Package com.liveperson.faas.security
Class JwtBearerGenerator
- java.lang.Object
-
- com.liveperson.faas.security.JwtBearerGenerator
-
- All Implemented Interfaces:
BearerGenerator
public class JwtBearerGenerator extends Object implements BearerGenerator
-
-
Constructor Summary
Constructors Constructor Description JwtBearerGenerator(RestClient restClient, CsdsClient csdsClient, String accountId, String clientId, String clientSecret)
-
-
-
Constructor Detail
-
JwtBearerGenerator
public JwtBearerGenerator(RestClient restClient, CsdsClient csdsClient, String accountId, String clientId, String clientSecret)
-
-
Method Detail
-
retrieveBearerToken
public String retrieveBearerToken() throws TokenGenerationException
- Specified by:
retrieveBearerTokenin interfaceBearerGenerator- Returns:
- bearer token used for authentication
- Throws:
TokenGenerationException- when token generation fails
-
-