be.nille.jwt.components.model.Claim Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwt-components Show documentation
Show all versions of jwt-components Show documentation
Useful components that will enable you to work with JWTs
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