Class JwtAuthenticator
- java.lang.Object
-
- com.adobe.pdfservices.operation.internal.auth.JwtAuthenticator
-
- All Implemented Interfaces:
Authenticator
public class JwtAuthenticator extends Object implements Authenticator
An authenticator implementation which deals with service account authentication through JWT
-
-
Field Summary
-
Fields inherited from interface com.adobe.pdfservices.operation.internal.auth.Authenticator
SESSION_TOKEN_REQUEST_GROUP_KEY
-
-
Constructor Summary
Constructors Constructor Description JwtAuthenticator(ServiceAccountCredentials serviceAccountConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientId()SessionTokengetSessionToken(HttpRequestConfig requestConfig)SessionTokenrefreshSessionToken(HttpRequestConfig requestConfig)Fetches a new Session Token from IMS
-
-
-
Constructor Detail
-
JwtAuthenticator
public JwtAuthenticator(ServiceAccountCredentials serviceAccountConfiguration)
-
-
Method Detail
-
getClientId
public String getClientId()
- Specified by:
getClientIdin interfaceAuthenticator
-
getSessionToken
public SessionToken getSessionToken(HttpRequestConfig requestConfig)
- Specified by:
getSessionTokenin interfaceAuthenticator
-
refreshSessionToken
public SessionToken refreshSessionToken(HttpRequestConfig requestConfig)
Fetches a new Session Token from IMS- Specified by:
refreshSessionTokenin interfaceAuthenticator
-
-