Package com.adobe.aio.auth
Class JwtContext
- java.lang.Object
-
- com.adobe.aio.auth.JwtContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJwtContext.Builder
-
Field Summary
Fields Modifier and Type Field Description static StringMETA_SCOPESstatic StringTECHNICAL_ACCOUNT_ID-
Fields inherited from interface com.adobe.aio.auth.Context
CLIENT_SECRET
-
-
Constructor Summary
Constructors Constructor Description JwtContext(String clientSecret, String technicalAccountId, Set<String> metascopes, PrivateKey privateKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JwtContext.Builderbuilder()booleanequals(Object o)StringgetClientSecret()Set<String>getMetascopes()PrivateKeygetPrivateKey()StringgetTechnicalAccountId()inthashCode()booleanisClientSecretDefined()booleanisPrivateKeyDefined()StringtoString()voidvalidate()Validates this context is minimally populated and able to function.
-
-
-
Field Detail
-
TECHNICAL_ACCOUNT_ID
public static final String TECHNICAL_ACCOUNT_ID
- See Also:
- Constant Field Values
-
META_SCOPES
public static final String META_SCOPES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JwtContext
public JwtContext(String clientSecret, String technicalAccountId, Set<String> metascopes, PrivateKey privateKey)
-
-
Method Detail
-
builder
public static JwtContext.Builder builder()
-
validate
public void validate()
Description copied from interface:ContextValidates this context is minimally populated and able to function.
-
getTechnicalAccountId
public String getTechnicalAccountId()
-
getClientSecret
public String getClientSecret()
-
isClientSecretDefined
public boolean isClientSecretDefined()
-
getPrivateKey
public PrivateKey getPrivateKey()
-
isPrivateKeyDefined
public boolean isPrivateKeyDefined()
-
-