• Preparing search index...
  • The search index is not available
@jackdbd/oauth2-error-responses
  • @jackdbd/oauth2-error-responses
  • oauth2ErrorFromErrorString

Function oauth2ErrorFromErrorString

  • oauth2ErrorFromErrorString(
        error: string,
        options?: Options,
    ):
        | InvalidRequestError
        | InvalidClientError
        | UnsupportedGrantTypeError
        | UnsupportedResponseTypeError
        | InvalidGrantError
        | InvalidTokenError
        | UnauthorizedError
        | UnauthorizedClientError
        | InvalidScopeError
        | ForbiddenError
        | AccessDeniedError
        | InsufficientScopeError
        | ServerError
        | TemporaryUnavailableError
  • Parameters

    • error: string
    • Optionaloptions: Options

    Returns
        | InvalidRequestError
        | InvalidClientError
        | UnsupportedGrantTypeError
        | UnsupportedResponseTypeError
        | InvalidGrantError
        | InvalidTokenError
        | UnauthorizedError
        | UnauthorizedClientError
        | InvalidScopeError
        | ForbiddenError
        | AccessDeniedError
        | InsufficientScopeError
        | ServerError
        | TemporaryUnavailableError

    • Defined in packages/oauth2-error-responses/src/oauth2-error-from-error-string.ts:28

Settings

Member Visibility
@jackdbd/oauth2-error-responses
  • Loading...

Generated using TypeDoc