Class AuthorizeCodeClaimsSet

java.lang.Object
net.shibboleth.idp.plugin.oidc.op.token.support.TokenClaimsSet
net.shibboleth.idp.plugin.oidc.op.token.support.AuthorizeCodeClaimsSet

public final class AuthorizeCodeClaimsSet extends TokenClaimsSet
Class wrapping claims set for authorize code.
  • Field Details

  • Constructor Details

    • AuthorizeCodeClaimsSet

      private AuthorizeCodeClaimsSet(@Nonnull JWTClaimsSet authzCodeClaimsSet)
      Private constructor for the parser.
      Parameters:
      authzCodeClaimsSet - authorize code claims set
  • Method Details

    • parse

      public static AuthorizeCodeClaimsSet parse(String authorizeCodeClaimsSet) throws ParseException
      Parses authz code from string (JSON).
      Parameters:
      authorizeCodeClaimsSet - JSON String representation of the code
      Returns:
      AuthorizeCodeClaimsSet instance if parsing is successful.
      Throws:
      ParseException - if parsing fails for example due to incompatible types.
    • parse

      public static AuthorizeCodeClaimsSet parse(@Nonnull String wrappedAuthCode, @Nonnull DataSealer dataSealer) throws ParseException, DataSealerException
      Parses authz code from sealed authorization code.
      Parameters:
      wrappedAuthCode - wrapped code
      dataSealer - sealer to unwrap the code
      Returns:
      authorize code
      Throws:
      ParseException - is thrown if unwrapped code is not understood
      DataSealerException - is thrown if unwrapping fails