pub struct WorkOSAuthOptions<'a> {
pub authkit_domain: String,
pub mcp_server_url: String,
pub required_scopes: Option<Vec<&'a str>>,
pub token_verifier: Option<Box<dyn OauthTokenVerifier>>,
pub resource_name: Option<String>,
pub resource_documentation: Option<String>,
}Expand description
Configuration options for the WorkOS AuthKit OAuth provider.
Fields§
§authkit_domain: String§mcp_server_url: String§required_scopes: Option<Vec<&'a str>>§token_verifier: Option<Box<dyn OauthTokenVerifier>>§resource_name: Option<String>§resource_documentation: Option<String>Auto Trait Implementations§
impl<'a> Freeze for WorkOSAuthOptions<'a>
impl<'a> !RefUnwindSafe for WorkOSAuthOptions<'a>
impl<'a> Send for WorkOSAuthOptions<'a>
impl<'a> Sync for WorkOSAuthOptions<'a>
impl<'a> Unpin for WorkOSAuthOptions<'a>
impl<'a> UnsafeUnpin for WorkOSAuthOptions<'a>
impl<'a> !UnwindSafe for WorkOSAuthOptions<'a>
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