[][src]Enum rusoto_sso_oidc::CreateTokenError

pub enum CreateTokenError {
    AccessDenied(String),
    AuthorizationPending(String),
    ExpiredToken(String),
    InternalServer(String),
    InvalidClient(String),
    InvalidGrant(String),
    InvalidRequest(String),
    InvalidScope(String),
    SlowDown(String),
    UnauthorizedClient(String),
    UnsupportedGrantType(String),
}

Errors returned by CreateToken

Variants

AccessDenied(String)

You do not have sufficient access to perform this action.

AuthorizationPending(String)

Indicates that a request to authorize a client with an access user session token is pending.

ExpiredToken(String)

Indicates that the token issued by the service is expired and is no longer valid.

InternalServer(String)

Indicates that an error from the service occurred while trying to process a request.

InvalidClient(String)

Indicates that the clientId or clientSecret in the request is invalid. For example, this can occur when a client sends an incorrect clientId or an expired clientSecret.

InvalidGrant(String)

Indicates that a request contains an invalid grant. This can occur if a client makes a CreateToken request with an invalid grant type.

InvalidRequest(String)

Indicates that something is wrong with the input to the request. For example, a required parameter might be missing or out of range.

InvalidScope(String)

Indicates that the scope provided in the request is invalid.

SlowDown(String)

Indicates that the client is making the request too frequently and is more than the service can handle.

UnauthorizedClient(String)

Indicates that the client is not currently authorized to make the request. This can happen when a clientId is not issued for a public client.

UnsupportedGrantType(String)

Indicates that the grant type in the request is not supported by the service.

Methods

impl CreateTokenError[src]

Trait Implementations

impl Debug for CreateTokenError[src]

impl Display for CreateTokenError[src]

impl Error for CreateTokenError[src]

impl PartialEq<CreateTokenError> for CreateTokenError[src]

impl StructuralPartialEq for CreateTokenError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.