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

com.auth0.jwt.impl.ClaimsHolder Maven / Gradle / Ivy

There is a newer version: 4.4.0
Show newest version
package com.auth0.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 - 2024 Weber Informatics LLC | Privacy Policy