Interface TokenValidationRule

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface TokenValidationRule
    Interface for token validation rules.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default org.eclipse.dataspaceconnector.spi.result.Result<com.nimbusds.jwt.SignedJWT> checkRule​(@NotNull com.nimbusds.jwt.SignedJWT toVerify)  
      org.eclipse.dataspaceconnector.spi.result.Result<com.nimbusds.jwt.SignedJWT> checkRule​(@NotNull com.nimbusds.jwt.SignedJWT toVerify, @Nullable java.util.Map<java.lang.String,​java.lang.Object> additional)  
    • Method Detail

      • checkRule

        org.eclipse.dataspaceconnector.spi.result.Result<com.nimbusds.jwt.SignedJWT> checkRule​(@NotNull
                                                                                               @NotNull com.nimbusds.jwt.SignedJWT toVerify,
                                                                                               @Nullable
                                                                                               @Nullable java.util.Map<java.lang.String,​java.lang.Object> additional)
      • checkRule

        default org.eclipse.dataspaceconnector.spi.result.Result<com.nimbusds.jwt.SignedJWT> checkRule​(@NotNull
                                                                                                       @NotNull com.nimbusds.jwt.SignedJWT toVerify)