Documentation ¶
Overview ¶
httpprovider contains http authentication methods.
Index ¶
- func NewApikeyProvider(p security.UserProvider) security.HttpProvider
- func NewBasicProvider(p security.Provider) security.HttpProvider
- func NewBearerProvider(providers []security.TokenProvider) security.HttpProvider
- func NewCasProvider(client libhttp.Doer, config security.CasConfig, ...) security.HttpProvider
- func NewCookieProvider(tokenProviders []security.TokenProvider, cookieName string, ...) security.HttpProvider
- func NewQueryBasicProvider(p security.Provider) security.HttpProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApikeyProvider ¶
func NewApikeyProvider(p security.UserProvider) security.HttpProvider
NewApikeyProvider creates new provider. Deprecated : use JWT token instead.
func NewBasicProvider ¶
func NewBasicProvider(p security.Provider) security.HttpProvider
NewBasicProvider creates new provider.
func NewBearerProvider ¶
func NewBearerProvider( providers []security.TokenProvider, ) security.HttpProvider
NewBearerProvider creates new provider.
func NewCasProvider ¶
func NewCasProvider( client libhttp.Doer, config security.CasConfig, userProvider security.UserProvider, roleProvider security.RoleProvider, ) security.HttpProvider
NewCasProvider creates new provider.
func NewCookieProvider ¶
func NewCookieProvider( tokenProviders []security.TokenProvider, cookieName string, logger zerolog.Logger, ) security.HttpProvider
func NewQueryBasicProvider ¶
func NewQueryBasicProvider(p security.Provider) security.HttpProvider
NewQueryBasicProvider creates new provider. Deprecated : use Basic Auth.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.