Documentation
¶
Overview ¶
Package authflow handles the OAuth2.0 flow against Cognito.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { // Err is set if there was an error which // prevented the flow from completing Err error Token *oauth2.Token DashboardURL string }
Response contains authenticated user information after the OAuth2.0 login flow is complete.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func FromDashboardURL ¶
FromDashboardURL builds a local server for an OAuth2.0 login flow looking up the CLI Client ID from the deployment public exports endpoint.
Click to show internal directories.
Click to hide internal directories.