Documentation ¶
Index ¶
- func BasicAuthOpt() fx.Option
- func HttpSecurityOpt() fx.Option
- func JwtAuthFilterOpt() fx.Option
- func NewBasicAuthFilter(in BasicAuthFilterIn) (filter.AuthenticationFilter, error)
- func NewJwtAuthFilter(in JwtAuthFilterIn) (filter.AuthenticationFilter, error)
- func NewSecuredHttpClient(props *secHttpClient.SecurityProperties) ccgo.ContextualHttpClientWrapper
- func RegisterHttpSecurity(in RegisterHttpSecurityIn) error
- func SecuredHttpClientOpt() fx.Option
- type BasicAuthFilterIn
- type HttpSecurityOut
- type JwtAuthFilterIn
- type RegisterHttpSecurityIn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuthOpt ¶
func HttpSecurityOpt ¶
func JwtAuthFilterOpt ¶
func NewBasicAuthFilter ¶
func NewBasicAuthFilter(in BasicAuthFilterIn) (filter.AuthenticationFilter, error)
func NewJwtAuthFilter ¶
func NewJwtAuthFilter(in JwtAuthFilterIn) (filter.AuthenticationFilter, error)
func NewSecuredHttpClient ¶
func NewSecuredHttpClient(props *secHttpClient.SecurityProperties) ccgo.ContextualHttpClientWrapper
func RegisterHttpSecurity ¶
func RegisterHttpSecurity(in RegisterHttpSecurityIn) error
func SecuredHttpClientOpt ¶
Types ¶
type BasicAuthFilterIn ¶
type BasicAuthFilterIn struct { fx.In SecurityProperties *config.HttpSecurityProperties AuthProviderManager *authen.ProviderManager }
type HttpSecurityOut ¶
type HttpSecurityOut struct { fx.Out AuthProviderManager *authen.ProviderManager AccessDecisionManager authorization.AccessDecisionManager }
func NewHttpSecurity ¶
func NewHttpSecurity() HttpSecurityOut
type JwtAuthFilterIn ¶
type JwtAuthFilterIn struct { fx.In SecurityProperties *config.HttpSecurityProperties AuthProviderManager *authen.ProviderManager }
type RegisterHttpSecurityIn ¶
type RegisterHttpSecurityIn struct { fx.In App *ccgo.App SecurityProperties *config.HttpSecurityProperties AuthProviderManager *authen.ProviderManager AccessDecisionManager authorization.AccessDecisionManager AuthenticationFilters []filter.AuthenticationFilter `group:"authentication_filter"` }
Click to show internal directories.
Click to hide internal directories.