pub struct ProxyOutpostConfig {Show 21 fields
pub pk: i32,
pub name: String,
pub internal_host: Option<String>,
pub external_host: String,
pub internal_host_ssl_validation: Option<bool>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub oidc_configuration: Box<OpenIdConnectConfiguration>,
pub cookie_secret: Option<String>,
pub certificate: Option<Option<Uuid>>,
pub skip_path_regex: Option<String>,
pub basic_auth_enabled: Option<bool>,
pub basic_auth_password_attribute: Option<String>,
pub basic_auth_user_attribute: Option<String>,
pub mode: Option<ProxyMode>,
pub cookie_domain: Option<String>,
pub access_token_validity: Option<f64>,
pub intercept_header_auth: Option<bool>,
pub scopes_to_request: Vec<String>,
pub assigned_application_slug: String,
pub assigned_application_name: String,
}
Expand description
ProxyOutpostConfig : Proxy provider serializer for outposts
Fields§
§pk: i32
§name: String
§internal_host: Option<String>
§external_host: String
§internal_host_ssl_validation: Option<bool>
Validate SSL Certificates of upstream servers
client_id: Option<String>
§client_secret: Option<String>
§oidc_configuration: Box<OpenIdConnectConfiguration>
§certificate: Option<Option<Uuid>>
§skip_path_regex: Option<String>
Regular expressions for which authentication is not required. Each new line is interpreted as a new Regular Expression.
basic_auth_enabled: Option<bool>
Set a custom HTTP-Basic Authentication header based on values from authentik.
basic_auth_password_attribute: Option<String>
User/Group Attribute used for the password part of the HTTP-Basic Header.
basic_auth_user_attribute: Option<String>
User/Group Attribute used for the user part of the HTTP-Basic Header. If not set, the user’s Email address is used.
mode: Option<ProxyMode>
Enable support for forwardAuth in traefik and nginx auth_request. Exclusive with internal_host. * proxy
- Proxy * forward_single
- Forward Single * forward_domain
- Forward Domain
access_token_validity: Option<f64>
Get token validity as second count
intercept_header_auth: Option<bool>
When enabled, this provider will intercept the authorization header and authenticate requests based on its value.
scopes_to_request: Vec<String>
Get all the scope names the outpost should request, including custom-defined ones
assigned_application_slug: String
Internal application name, used in URLs.
assigned_application_name: String
Application’s display Name.
Implementations§
Source§impl ProxyOutpostConfig
impl ProxyOutpostConfig
Sourcepub fn new(
pk: i32,
name: String,
external_host: String,
oidc_configuration: OpenIdConnectConfiguration,
access_token_validity: Option<f64>,
scopes_to_request: Vec<String>,
assigned_application_slug: String,
assigned_application_name: String,
) -> ProxyOutpostConfig
pub fn new( pk: i32, name: String, external_host: String, oidc_configuration: OpenIdConnectConfiguration, access_token_validity: Option<f64>, scopes_to_request: Vec<String>, assigned_application_slug: String, assigned_application_name: String, ) -> ProxyOutpostConfig
Proxy provider serializer for outposts
Trait Implementations§
Source§impl Clone for ProxyOutpostConfig
impl Clone for ProxyOutpostConfig
Source§fn clone(&self) -> ProxyOutpostConfig
fn clone(&self) -> ProxyOutpostConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more