pub struct OAuthClient {
pub redirect_uri: String,
pub client_id: String,
pub client_secret: String,
}
Expand description
OAuth client configuration containing essential client credentials.
Fields§
§redirect_uri: String
The redirect URI where the authorization server will send the user after authorization.
client_id: String
The unique client identifier for this OAuth client.
client_secret: String
The client secret used for authenticating with the authorization server.
Auto Trait Implementations§
impl Freeze for OAuthClient
impl RefUnwindSafe for OAuthClient
impl Send for OAuthClient
impl Sync for OAuthClient
impl Unpin for OAuthClient
impl UnwindSafe for OAuthClient
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