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

be.nille.jwt.components.model.Claim Maven / Gradle / Ivy

The newest version!
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package be.nille.jwt.components.model;

import lombok.Getter;
import lombok.extern.slf4j.Slf4j;

/**
 * @author nholvoet
 */
@Slf4j
@Getter
public class Claim {

    private final String name;
    private final Object value;

    public Claim(final String name, final Object value) {
        this.name = name;
        this.value = value;
        log.debug("Create JWT claim with name " + name + " and value " + this.value);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy