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 class
JwtContext.Builder
-
Field Summary
Fields Modifier and Type Field Description static String
META_SCOPES
static String
TECHNICAL_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.Builder
builder()
boolean
equals(Object o)
String
getClientSecret()
Set<String>
getMetascopes()
PrivateKey
getPrivateKey()
String
getTechnicalAccountId()
int
hashCode()
boolean
isClientSecretDefined()
boolean
isPrivateKeyDefined()
String
toString()
void
validate()
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:Context
Validates 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()
-
-