[][src]Function open_api_hydra::apis::admin_api::get_login_request

pub async fn get_login_request<'_, '_>(
    configuration: &'_ Configuration,
    login_challenge: &'_ str
) -> Result<LoginRequest, Error<GetLoginRequestError>>

When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called "identity provider") to authenticate the subject and then tell ORY Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate ("show the subject a login screen") a subject (in OAuth2 the proper name for subject is "resource owner"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.