Class OA2RedirectableError

  • All Implemented Interfaces:
    Serializable

    public class OA2RedirectableError
    extends OA2GeneralError
    A standard OIDC error, where there is a valid redirect and the return codes are turned into parameters in the redirect. In cases where there is no redirect available, you must use an OA2GeneralError instead.

    Note

    This is typically used in the authorization leg of the code flow. For the token leg use OA2ATException instead.

    Created by Jeff Gaynor
    on 2/6/15 at 11:33 AM

    See Also:
    Serialized Form
    • Constructor Detail

      • OA2RedirectableError

        public OA2RedirectableError​(String error,
                                    String description,
                                    int httpStatus,
                                    String state,
                                    URI callback)
      • OA2RedirectableError

        public OA2RedirectableError​(String error,
                                    String description,
                                    int httpStatus,
                                    String state,
                                    URI callback,
                                    BaseClient client)
      • OA2RedirectableError

        public OA2RedirectableError​(String error,
                                    String description,
                                    int httpStatus,
                                    String state)
      • OA2RedirectableError

        public OA2RedirectableError​(String error,
                                    String description,
                                    int httpStatus,
                                    String state,
                                    BaseClient client)
      • OA2RedirectableError

        public OA2RedirectableError()
      • OA2RedirectableError

        public OA2RedirectableError​(Throwable cause)
      • OA2RedirectableError

        public OA2RedirectableError​(String message)
      • OA2RedirectableError

        public OA2RedirectableError​(String message,
                                    Throwable cause)
    • Method Detail

      • getCallback

        public URI getCallback()
      • setCallback

        public void setCallback​(URI callback)
      • hasCallback

        public boolean hasCallback()