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.
    • 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.