Documentation ¶
Index ¶
- Variables
- func CreatePrincipalRecord(userName string, password string) (created bool, err error)
- func GetAppRegistration(clientid string) (outputdata [3]string, err error)
- func HandleImplicitGrantAuthorize(resp http.ResponseWriter, req *http.Request)
- func ReadPrincipalRecord(username string) (outputdata []string, err error)
- func ShowLoginPage(resp http.ResponseWriter, req *http.Request, templatedata Templatedata)
- func VerifyCredentials(formdata LoginPageData) (err error)
- func VerifyRequest(req http.Request) (err error)
- type LoginPageData
- type Templatedata
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrImplGrantMissingClientID = errors.New("Implicit Grant: Missing ClientID")
View Source
var ErrRedirectURIMismatch = errors.New("Implicit Grant: Redirect URL Mismatch")
Functions ¶
func CreatePrincipalRecord ¶
func GetAppRegistration ¶
func HandleImplicitGrantAuthorize ¶
func HandleImplicitGrantAuthorize(resp http.ResponseWriter, req *http.Request)
func ReadPrincipalRecord ¶
func ShowLoginPage ¶
func ShowLoginPage(resp http.ResponseWriter, req *http.Request, templatedata Templatedata)
func VerifyCredentials ¶
func VerifyCredentials(formdata LoginPageData) (err error)
func VerifyRequest ¶
Types ¶
type LoginPageData ¶
Click to show internal directories.
Click to hide internal directories.