Package com.adobe.aio.ims
Interface ImsService
-
public interface ImsService
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classImsService.Builder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description static ImsService.Builderbuilder()AccessTokengetAccessToken()Looking up the contextual Workspace, it will use either the OAuth or JWT authentication context to fetch a valid access token.booleanvalidateJwtAccessToken(String jwtAccessToken)Deprecated.this will be removed as JWT token exchange is deprecated
-
-
-
Method Detail
-
validateJwtAccessToken
@Deprecated boolean validateJwtAccessToken(String jwtAccessToken)
Deprecated.this will be removed as JWT token exchange is deprecatedChecks that the jwt access token is still valid.- Parameters:
jwtAccessToken- the jwt token to check- Returns:
- true if the provided access token is still valid, false otherwise
-
getAccessToken
AccessToken getAccessToken()
Looking up the contextual Workspace, it will use either the OAuth or JWT authentication context to fetch a valid access token.- Returns:
- AccessToken a valid API authentication token
-
builder
static ImsService.Builder builder()
-
-