Documentation ¶
Index ¶
Constants ¶
View Source
const WellKnown = "/.well-known/oauth-authorization-server"
Variables ¶
This section is empty.
Functions ¶
func BuildDiscoveryUrl ¶
Types ¶
type AccessTokenResponse ¶
type AccessTokenResponse map[string]interface{}
func (AccessTokenResponse) Println ¶
func (atr AccessTokenResponse) Println()
type AuthorizationResponse ¶
func (AuthorizationResponse) HasCode ¶
func (ar AuthorizationResponse) HasCode() bool
func (AuthorizationResponse) HasTokens ¶
func (ar AuthorizationResponse) HasTokens() bool
func (AuthorizationResponse) Println ¶
func (ar AuthorizationResponse) Println()
type ErrorResponse ¶
type ErrorResponse struct { ErrorCode string ErrorDescription string ErrorUri *url.URL State string }
func (ErrorResponse) Error ¶
func (er ErrorResponse) Error() string
func (ErrorResponse) Println ¶
func (er ErrorResponse) Println()
Click to show internal directories.
Click to hide internal directories.