Skip to content

refusal

Enums

  • LoginRefusal - Why the Control Plane refused a login, from its RFC 6749 error code. Each

Enum

Why the Control Plane refused a login, from its RFC 6749 error code. Each case says what the user can do next; codes the CLI cannot act on differently are grouped.

Variants:

  • AccessDenied - The user denied the login in the browser.
  • TemporarilyUnavailable - Too many logins are in progress.
  • InvalidGrant - The code expired, was already used, or does not belong to this login.
  • InvalidToken - The access token was rejected, for example because it expired.
  • ServerError - The Control Plane failed.
  • Other - Any other refusal, such as a request this CLI version formed differently.

Traits: Error, Eq, Copy

Trait Implementations:

  • Display
    • fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result
  • PartialEq
    • fn eq(self: &Self, other: &Self) -> bool
  • Clone
    • fn clone(self: &Self) -> Self
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result