authress 0.1.66

The Authress SDK for RUST - provides authorization as a service with fully compatible REST apis. Authentication / Authorization / User Identity Roles / Permissions / Policies
Documentation
/// ApplicationDelegation : The delegation response.



#[derive(Default, Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ApplicationDelegation {
    /// Redirect the user to this url to automatically log them into a third-party application.
    #[serde(rename = "authenticationUrl")]
    pub authentication_url: String,
}

impl ApplicationDelegation {
    /// The delegation response.
    pub fn new(authentication_url: String) -> ApplicationDelegation {
        ApplicationDelegation {
            authentication_url,
        }
    }
}