Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = &bootstrap.Module{ Name: "oauth2 authserver", Precedence: security.MinSecurityPrecedence + 20, Options: []fx.Option{ appconfig.FxEmbeddedDefaults(defaultConfigFS), fx.Provide(jwt.BindCryptoProperties), fx.Provide(ProvideResServerDI), fx.Invoke(ConfigureResourceServer), }, }
Functions ¶
func ConfigureResourceServer ¶
func ConfigureResourceServer(di resServerDI)
ConfigureResourceServer configuration entry point
func ProvideResServerDI ¶
func ProvideResServerDI(di resServerConfigDI) resServerOut
Types ¶
type Configuration ¶
type Configuration struct {
// configurable items
RemoteEndpoints RemoteEndpoints
TokenStoreReader oauth2.TokenStoreReader
JwkStore jwt.JwkStore
// contains filtered or unexported fields
}
func (*Configuration) SharedTokenStoreReader ¶
func (c *Configuration) SharedTokenStoreReader() oauth2.TokenStoreReader
type RemoteEndpoints ¶
type ResourceServerConfigurer ¶
type ResourceServerConfigurer func(*Configuration)
Click to show internal directories.
Click to hide internal directories.