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

de.cidaas.jwt.impl.ClaimsHolder Maven / Gradle / Ivy

package de.cidaas.jwt.impl;


import java.util.HashMap;
import java.util.Map;

/**
 * The ClaimsHolder class is just a wrapper for the Map of Claims used for building a JWT.
 */
public final class ClaimsHolder {
    private Map claims;

    public ClaimsHolder(Map claims) {
        this.claims = claims == null ? new HashMap() : claims;
    }

    Map getClaims() {
        return claims;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy