Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationRequest ¶
type Conf ¶
type Conf struct { //Logger *logrus.Logger Storage Storage BaseURL string GatewayClient GatewayClient UpstreamIdP oauth2.Config }
type DiscoveryMeta ¶
type DiscoveryMeta struct { Issuer string `json:"issuer"` AuthorizationEndpoint string `json:"authorization_endpoint"` TokenEndpoint string `json:"token_endpoint"` Keys string `json:"keys"` UserInfo string `json:"user_info"` Subjects []string `json:"subjects"` Callback string `json:"callback,omitempty"` }
type GatewayClient ¶
type GatewayClient struct { ClientID string ClientSecret string RedirectURI string Discovery DiscoveryMeta }
type TokenRequest ¶
type TokenRequest struct { GrantType string `json:"grant_type" schema:"grant_type"` ClientID string `json:"client_id "schema:"client_id"` ClientSecret string `json:"client_secret" schema:"client_secret"` Code string `json:"code" schema:"code"` RedirectURI string `json:"redirect_uri" schema:"redirect_uri"` }
type TokenResponse ¶
Click to show internal directories.
Click to hide internal directories.