Class TokenValidationServiceImpl
- java.lang.Object
-
- org.eclipse.dataspaceconnector.common.token.TokenValidationServiceImpl
-
- All Implemented Interfaces:
TokenValidationService
public class TokenValidationServiceImpl extends java.lang.Object implements TokenValidationService
-
-
Constructor Summary
Constructors Constructor Description TokenValidationServiceImpl(org.eclipse.dataspaceconnector.spi.iam.PublicKeyResolver publicKeyResolver, TokenValidationRulesRegistry rulesRegistry)
-
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
-
Methods inherited from interface org.eclipse.dataspaceconnector.common.token.TokenValidationService
validate
-
-
-
-
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:TokenValidationServiceValidates the token and offers possibility for additional information for validations.- Specified by:
validatein interfaceTokenValidationService- Parameters:
tokenRepresentation- A token representation including the token to verify.- Returns:
- Result of the validation.
-
-