Documentation ¶
Index ¶
- func Get(endpoint string, at string) (map[string]any, *oidcreqres.OIDCErrorResponse, error)
- func GetFromProvider(provider model.Provider, at string) (map[string]any, *oidcreqres.OIDCErrorResponse, error)
- func GetUserAttributes(rlog log.Ext1FieldLogger, oidcTokenRes *oidcreqres.OIDCTokenResponse, ...) map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get( endpoint string, at string, ) (map[string]any, *oidcreqres.OIDCErrorResponse, error)
Get obtains the userinfo response from the passed endpoint
func GetFromProvider ¶
func GetFromProvider( provider model.Provider, at string, ) (map[string]any, *oidcreqres.OIDCErrorResponse, error)
GetFromProvider obtains the userinfo response from the model.Provider's userinfo endpoint
func GetUserAttributes ¶
func GetUserAttributes( rlog log.Ext1FieldLogger, oidcTokenRes *oidcreqres.OIDCTokenResponse, provider model.Provider, attributes ...string, ) map[string]any
GetUserAttributes returns user attributes for the passed claim names by searching the id token, JWT AT, and userinfo endpoint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.