pub struct ValidateBaseUrlRewriteRequest {
pub base_url: String,
pub project_id: String,
pub token: String,
}Expand description
ValidateBaseUrlRewriteRequest : The endpoint is mounted on backoffice’s admin listener and is not exposed on the public ingress; the bearer token is the credential. See .claude/docs/plans/courier-rewrite.md for the design.
Fields§
§base_url: StringThe base URL the proxy wants Kratos to rewrite courier links to, e.g. "http://localhost:4000" for the Ory CLI / NextJS proxy.
project_id: StringThe Project ID the token is being authorized against.
token: StringThe bearer token from the inbound Ory-Base-URL-Rewrite-Token header.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ValidateBaseUrlRewriteRequest
impl<'de> Deserialize<'de> for ValidateBaseUrlRewriteRequest
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
impl StructuralPartialEq for ValidateBaseUrlRewriteRequest
Auto Trait Implementations§
impl Freeze for ValidateBaseUrlRewriteRequest
impl RefUnwindSafe for ValidateBaseUrlRewriteRequest
impl Send for ValidateBaseUrlRewriteRequest
impl Sync for ValidateBaseUrlRewriteRequest
impl Unpin for ValidateBaseUrlRewriteRequest
impl UnsafeUnpin for ValidateBaseUrlRewriteRequest
impl UnwindSafe for ValidateBaseUrlRewriteRequest
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