pub struct IssueAccessTokenErrorParams {
pub error: IssueAccessTokenErrorCode,
pub error_description: Option<String>,
pub error_uri: Option<String>,
}
Available on crate feature
oauth2
only.Expand description
The response returned by the authorization server when the access token request is not valid or unauthorized.
The authorization server responds with an HTTP 400 (Bad Request) status code (unless specified otherwise) and includes the following parameters with the response.
Refs: https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
Fields§
§error: IssueAccessTokenErrorCode
A single ASCII error code.
error_description: Option<String>
Human-readable ASCII text providing additional information, used to assist the client developer in understanding the error that occurred.
error_uri: Option<String>
A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.
Trait Implementations§
Source§impl Clone for IssueAccessTokenErrorParams
impl Clone for IssueAccessTokenErrorParams
Source§fn clone(&self) -> IssueAccessTokenErrorParams
fn clone(&self) -> IssueAccessTokenErrorParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IssueAccessTokenErrorParams
impl Debug for IssueAccessTokenErrorParams
Source§impl<'de> Deserialize<'de> for IssueAccessTokenErrorParams
impl<'de> Deserialize<'de> for IssueAccessTokenErrorParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IssueAccessTokenErrorParams
impl RefUnwindSafe for IssueAccessTokenErrorParams
impl Send for IssueAccessTokenErrorParams
impl Sync for IssueAccessTokenErrorParams
impl Unpin for IssueAccessTokenErrorParams
impl UnwindSafe for IssueAccessTokenErrorParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more