pub struct AuthenticationInformation {
pub authorization_url: String,
pub state: String,
pub pkce_verifier: Option<PkceVerifier>,
}Expand description
AuthenticationInformation contains data needed to complete the requested authentication flow.
Fields§
URL to call/pass to users to initiate an authentication and get an auth code from ESI.
state: StringIf the default feature “random_state” is enabled, the returned state field string will be random; otherwise it’ll be “esi_openapi_unused”. The ESI docs link to this auth0 page to explain. You need to check the state yourself when the response from ESI is received.
pkce_verifier: Option<PkceVerifier>Filled if you’ve selected PKCE authentication for application. You will need it to authenticate using the code received from ESI.
Auto Trait Implementations§
impl Freeze for AuthenticationInformation
impl RefUnwindSafe for AuthenticationInformation
impl Send for AuthenticationInformation
impl Sync for AuthenticationInformation
impl Unpin for AuthenticationInformation
impl UnsafeUnpin for AuthenticationInformation
impl UnwindSafe for AuthenticationInformation
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