com.cleverpine.viravaspringhelper.core.TokenAuthenticator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cp-virava-spring-helper Show documentation
Show all versions of cp-virava-spring-helper Show documentation
Library for Spring Framework projects using Virava
package com.cleverpine.viravaspringhelper.core;
public interface TokenAuthenticator {
/**
* Authenticates the access token. It can decode, verify or check the token based on the provided implementation.
* @param token the token to be authenticated or verified
* @return the authenticated token
* @throws com.cleverpine.viravaspringhelper.error.exception.ViravaAuthenticationException if there is a problem with the token authentication
*/
T process(String token);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy