Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistrustClient ¶ added in v0.0.3
type DistrustClient struct { fosite.DefaultClient AllowGroups []string DenyGroups []string }
type InFlightRequest ¶
type InFlightRequest struct { Nonce int Ar fosite.AuthorizeRequester }
type OIDCOption ¶
type OIDCOption interface {
// contains filtered or unexported methods
}
func WithPrivateKey ¶
func WithPrivateKey(p *rsa.PrivateKey) OIDCOption
func WithSecret ¶
func WithSecret(s []byte) OIDCOption
type OIDCProvider ¶
type OIDCProvider struct {
// contains filtered or unexported fields
}
func NewOIDC ¶
func NewOIDC(path string, disc discourse.SSOConfig, clients map[string]fosite.Client, opts ...OIDCOption) *OIDCProvider
func (*OIDCProvider) RegisterHandlers ¶
func (o *OIDCProvider) RegisterHandlers(r chi.Router)
Click to show internal directories.
Click to hide internal directories.