Documentation
¶
Index ¶
- Variables
- func AuthRequest(c *gin.Context)
- func CreateSamlMapper(id string, mapper gocloak.ProtocolMapperRepresentation) error
- func GenIdentityProviderMetadata(opts Options) (*saml.EntityDescriptor, error)
- func GenIdentityProviderMetadataUrl(opts Options) url.URL
- func GenServiceProviderMetadataUrl(opts Options) url.URL
- func GetSamlClient(id string) (*gocloak.Client, error)
- 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 CreateSamlMapper ¶
func GenIdentityProviderMetadata ¶
func GenIdentityProviderMetadata(opts Options) (*saml.EntityDescriptor, error)
func GetSamlClient ¶
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.