Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SignIn ¶
func (c *Client) SignIn(ctx context.Context, req SignInRequest) (SignInResult, error)
type Config ¶
type Config struct {
Enabled bool `config:"enabled"`
Issuer string `config:"issuer" validate:"required_with=Enabled,omitempty,url"`
ClientID string `config:"client_id" validate:"required_with=Enabled"`
ClientSecret string `config:"client_secret" validate:"required_with=Enabled"`
PublicURL string `config:"public_url" validate:"required_with=Enabled,omitempty,url"`
RequestTimeout time.Duration `config:"request_timeout" validate:"gt=0"`
DangerouslyAllowInsecureHTTP bool `config:"dangerously_allow_insecure_http"`
}
type Paths ¶
type Paths struct {
Redirect string
}
Paths are the paths under public_url that the client uses.
type SignInRequest ¶
type SignInResult ¶
Click to show internal directories.
Click to hide internal directories.