Struct ory_client::models::successful_self_service_registration_without_browser::SuccessfulSelfServiceRegistrationWithoutBrowser
source · [−]pub struct SuccessfulSelfServiceRegistrationWithoutBrowser {
pub identity: Box<Identity>,
pub session: Option<Box<Session>>,
pub session_token: Option<String>,
}
Expand description
SuccessfulSelfServiceRegistrationWithoutBrowser : The Response for Registration Flows via API
Fields
identity: Box<Identity>
session: Option<Box<Session>>
session_token: Option<String>
The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows!
Implementations
The Response for Registration Flows via API
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more