Package com.auth0.jwt

Class JWTCreator


  • public final class JWTCreator
    extends java.lang.Object
    The JWTCreator class holds the sign method to generate a complete JWT (with Signature) from a given Header and Payload content.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JWTCreator.Builder
      The Builder class holds the Claims that defines the JWT to be created.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private JWTCreator​(Algorithm algorithm, java.util.Map<java.lang.String,​java.lang.Object> headerClaims, java.util.Map<java.lang.String,​java.lang.Object> payloadClaims)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static JWTCreator.Builder init()
      Initialize a JWTCreator instance.
      private java.lang.String sign()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait