Documentation
¶
Index ¶
- Variables
- func AuthRequest(c *gin.Context)
- func GenIdentityProviderMetadata(opts Options) (*saml.EntityDescriptor, error)
- func GenIdentityProviderMetadataUrl(opts Options) url.URL
- func GenServiceProviderMetadataUrl(opts Options) url.URL
- func NewGlobalAuth(opts Options) error
- func ServeAcs() gin.HandlerFunc
- type Auth
- type Host
- type Options
- type Provider
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SpAuth *samlsp.Middleware
)
Functions ¶
func AuthRequest ¶
func GenIdentityProviderMetadata ¶
func GenIdentityProviderMetadata(opts Options) (*saml.EntityDescriptor, error)
func NewGlobalAuth ¶
func ServeAcs ¶
func ServeAcs() gin.HandlerFunc
Types ¶
type Host ¶
type Host struct { Scheme string `json:"scheme" yaml:"scheme"` VirtualIp string `json:"virtualIp" yaml:"virtualIp"` Ip string `json:"ip" yaml:"ip"` Port int `json:"port" yaml:"port"` TlsInsecureSkipVerify bool `json:"tlsInsecureSkipVerify" yaml:"tlsInsecureSkipVerify"` Auth `json:"auth" yaml:"auth"` }
Click to show internal directories.
Click to hide internal directories.