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

io.scalecube.security.tokens.jwt.JwtToken Maven / Gradle / Ivy

There is a newer version: 1.0.33.rc1
Show newest version
package io.scalecube.security.tokens.jwt;

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

public class JwtToken {

  private final Map header;
  private final Map body;

  public JwtToken(Map header, Map body) {
    this.header = Collections.unmodifiableMap(new HashMap<>(header));
    this.body = Collections.unmodifiableMap(new HashMap<>(body));
  }

  public Map header() {
    return header;
  }

  public Map body() {
    return body;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy