types/authentication.rs

hyperswitch · crates/router/src/types/authentication.rs · rust · Apache-2.0
auth

Provides type aliases for authentication router data and connector integration traits, simplifying auth flows.

// Source: https://github.com/juspay/hyperswitch | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
pub use hyperswitch_domain_models::{
    router_request_types::authentication::{
        AcquirerDetails, AuthNFlowType, ChallengeParams, ConnectorAuthenticationRequestData,
        ConnectorPostAuthenticationRequestData, PreAuthNRequestData, PreAuthenticationData,
    },
    router_response_types::AuthenticationResponseData,
};

use super::{api, RouterData};
use crate::services;

pub type PreAuthNRouterData =
    RouterData<api::PreAuthentication, PreAuthNRequestData, AuthenticationResponseData>;

pub type PreAuthNVersionCallRouterData =
    RouterData<api::PreAuthenticationVersionCal

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key