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

com.atlassian.usercontext.api.UserContextTokenValidator Maven / Gradle / Ivy

package com.atlassian.usercontext.api;

import java.util.Optional;

/**
 * Used to parse and validate user context tokens from the base64 encoded jwt
 * into a {@link UserContext} object.
 */
public interface UserContextTokenValidator {

    /**
     * Parse and validate a base64 encoded jwt string into a {@link} UserContext object.
     *
     * @param signedJwt base64 encoded jwt string
     * @return a user context object
     */
    Optional validate(String signedJwt);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy