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

com.cleverpine.viravaspringhelper.core.TokenAuthenticator Maven / Gradle / Ivy

There is a newer version: 3.1.6
Show newest version
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