Class JsonWebToken

java.lang.Object
org.jgrapes.webconlet.oidclogin.JsonWebToken

public class JsonWebToken extends Object
The Class OidcProviderData.
  • Constructor Details

  • Method Details

    • parse

      public static JsonWebToken parse(String token)
      Parses the given token as JWT.
      Parameters:
      token - the token
      Returns:
      the json web token
    • header

      public Map<String,Object> header()
      Gets the header.
      Returns:
      the header
    • payload

      public Map<String,Object> payload()
      Gets the payload.
      Returns:
      the payload
    • signature

      public byte[] signature()
      Gets the signature.
      Returns:
      the signature