pub struct SpringOAuthConfig {
pub auth_url: String,
pub client_id: String,
pub client_secret: String,
pub redirect_uri: Option<String>,
pub default_policy: String,
pub admin_policy: String,
}Expand description
Configuration for Spring OAuth 2.0 / OIDC integration.
Fields§
§auth_url: StringBase URL of the Spring auth server (e.g., https://auth.puddlesearch.in).
client_id: StringOAuth client ID registered in Spring.
client_secret: StringOAuth client secret.
redirect_uri: Option<String>Redirect URI for the callback (auto-derived if not set).
default_policy: StringDefault vault policy to assign to Spring-authenticated users.
admin_policy: StringVault policy to assign to Spring admin users.
Trait Implementations§
Source§impl Clone for SpringOAuthConfig
impl Clone for SpringOAuthConfig
Source§fn clone(&self) -> SpringOAuthConfig
fn clone(&self) -> SpringOAuthConfig
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 moreAuto Trait Implementations§
impl Freeze for SpringOAuthConfig
impl RefUnwindSafe for SpringOAuthConfig
impl Send for SpringOAuthConfig
impl Sync for SpringOAuthConfig
impl Unpin for SpringOAuthConfig
impl UnwindSafe for SpringOAuthConfig
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