Documentation
¶
Overview ¶
Package onboard implements the onboarding service, allowing users to register and obtain credentials.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginOrRegister ¶
type LoginOrRegister bool
const ( Login LoginOrRegister = true Register LoginOrRegister = false )
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the example RP server
func New ¶
New creates a new Application server. internalPort is the port on which the server will listen for internal requests. ourURL is the public URL of the server. providerURL is the URL of the OpenID Provider (OP). clientID is our RP client ID as registered in the OP. clientSecret is our RP client secret as registered in the OP.
Click to show internal directories.
Click to hide internal directories.