Package com.adobe.granite.auth.oauth
Interface ExtendedTokenValidator
-
- All Superinterfaces:
TokenValidator
@ConsumerType public interface ExtendedTokenValidator extends TokenValidator
This interface is created in order to simplify Token Validation in the IMS bundle. Access token validation in IMS is defined and doesn't need the combination of multiple implementations and the complexity of Dynamic Services like the TokenValidator OAuth interface proposes. Using the OfflineValidator allows to simplify this in the IMS bundle.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ExtendedTokenValidator.ValidationResult
-
Field Summary
-
Fields inherited from interface com.adobe.granite.auth.oauth.TokenValidator
VALIDATOR_TYPE_PROPERTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ExtendedTokenValidator.ValidationResult
validate(@NotNull java.lang.String token)
Performs the complete token validation returning one of the possible results.-
Methods inherited from interface com.adobe.granite.auth.oauth.TokenValidator
isValid
-
-
-
-
Method Detail
-
validate
@NotNull @NotNull ExtendedTokenValidator.ValidationResult validate(@NotNull @NotNull java.lang.String token)
Performs the complete token validation returning one of the possible results. It is a more nuanced implementation allowing for different behaviours to each error if needed.
-
-