Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OidcIdp ¶
type OidcIdp struct { // Name represents what the OIDC IDP is commonly referred to as. Name string // LoginUrl is the full web address of where a user logs in. // For example, "https://webpage.com/login". LoginUrl *url.URL // FormActionUrl is the web address of where the login form is submitted. // For example, "https://webpage.com/authenticate". FormActionUrl *url.URL // UsernameInputName is the value of the HTML name attribute where the user inputs their username. // For example, "username". UsernameInputName string // PasswordInputName is the value of the HTML name attribute where the user inputs their password. // For example, "password". PasswordInputName string // HiddenInputName is the name of a state parameter often used to prevent CSRF attacks. // This value will attempted to be parsed from the URL's query params after all redirects are done. // The value will be submitted as part of the form. For example, "csrfState". HiddenInputName string }
Click to show internal directories.
Click to hide internal directories.