All Downloads are FREE. Search and download functionalities are using the official Maven repository.

be.looorent.micronaut.security.DefaultTokenValidator Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package be.looorent.micronaut.security;

import io.jsonwebtoken.Claims;

import javax.inject.Singleton;

/**
 * Default implementation to validate a JWT's body. This implementation does not validate anything.
 * To override this implementation, @{@link io.micronaut.context.annotation.Replaces} must be set on
 * the replacement implementation.
 * @author Lorent Lempereur - [email protected]
 */
@Singleton
public class DefaultTokenValidator implements TokenValidator {

    @Override
    public void validate(Claims tokenContent) {
        // do nothing
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy