Function ory_kratos_client::apis::v0alpha1_api::initialize_self_service_settings_flow_without_browser[][src]

pub async fn initialize_self_service_settings_flow_without_browser(
    configuration: &Configuration,
    x_session_token: Option<&str>
) -> Result<SelfServiceSettingsFlow, Error<InitializeSelfServiceSettingsFlowWithoutBrowserError>>
Expand description

This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on. You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK. To fetch an existing settings flow call /self-service/settings/flows?flow=<flow_id>. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, …) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, …). More information can be found at Ory Kratos User Settings & Profile Management Documentation.