Class AuthorizeCodeClaimsSet


  • public final class AuthorizeCodeClaimsSet
    extends TokenClaimsSet
    Class wrapping claims set for authorize code.
    • Constructor Detail

      • AuthorizeCodeClaimsSet

        private AuthorizeCodeClaimsSet​(com.nimbusds.jwt.JWTClaimsSet authzCodeClaimsSet)
        Private constructor for the parser.
        Parameters:
        authzCodeClaimsSet - authorize code claims set
    • Method Detail

      • 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.