[−][src]Enum rusoto_sso_oidc::CreateTokenError
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.
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.
Implementations
impl CreateTokenError
[src]
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateTokenError>
[src]
Trait Implementations
impl Debug for CreateTokenError
[src]
impl Display for CreateTokenError
[src]
impl Error for CreateTokenError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<CreateTokenError> for CreateTokenError
[src]
pub fn eq(&self, other: &CreateTokenError) -> bool
[src]
pub fn ne(&self, other: &CreateTokenError) -> bool
[src]
impl StructuralPartialEq for CreateTokenError
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateTokenError
[src]
impl Send for CreateTokenError
[src]
impl Sync for CreateTokenError
[src]
impl Unpin for CreateTokenError
[src]
impl UnwindSafe for CreateTokenError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,