Class TokenValidationServiceImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.dataspaceconnector.spi.result.Result<org.eclipse.dataspaceconnector.spi.iam.ClaimToken> validate​(org.eclipse.dataspaceconnector.spi.iam.TokenRepresentation tokenRepresentation)
      Validates the token and offers possibility for additional information for validations.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TokenValidationServiceImpl

        public TokenValidationServiceImpl​(org.eclipse.dataspaceconnector.spi.iam.PublicKeyResolver publicKeyResolver,
                                          TokenValidationRulesRegistry rulesRegistry)
    • Method Detail

      • validate

        public org.eclipse.dataspaceconnector.spi.result.Result<org.eclipse.dataspaceconnector.spi.iam.ClaimToken> validate​(org.eclipse.dataspaceconnector.spi.iam.TokenRepresentation tokenRepresentation)
        Description copied from interface: TokenValidationService
        Validates the token and offers possibility for additional information for validations.
        Specified by:
        validate in interface TokenValidationService
        Parameters:
        tokenRepresentation - A token representation including the token to verify.
        Returns:
        Result of the validation.