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

com.bcgdv.jwt.models.ServerSecret Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
package com.bcgdv.jwt.models;

import java.io.Serializable;
import java.util.Map;

/**
 * Encapsulates the server secret that is encrypted by the generation service.
 */
public class ServerSecret extends Secret implements Serializable {

    /**
     * Pass secret into constructor as Map. Must contain "context" for token validation
     * @param assertions a Map containing assertions as Strings
     */
    public ServerSecret(Map assertions) {
        super(assertions);
        this.tokenType= Token.Type.SERVER;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy