Class McpOAuthPolicy.Decision

java.lang.Object
com.mcpdbwizard.pub.McpOAuthPolicy.Decision
Enclosing class:
McpOAuthPolicy

public static final class McpOAuthPolicy.Decision extends Object
What the caller should do with a request.
  • Field Details

    • status

      public final int status
      0 when the request may proceed, else the HTTP status to send.
    • challenge

      public final String challenge
      The WWW-Authenticate value to send, or null.
    • reason

      public final String reason
      Why, for the log — never sent to the caller.
  • Method Details

    • isAllowed

      public boolean isAllowed()