Documentation ¶
Index ¶
- func CodeExchange(rlog log.Ext1FieldLogger, oState *state.State, code string, ...) *model.Response
- func GetAuthorizationURL(rlog log.Ext1FieldLogger, tx *sqlx.Tx, provider *config.ProviderConf, ...) (string, error)
- func Init()
- func StartAuthCodeFlow(ctx *fiber.Ctx, oidcReq *response.OIDCFlowRequest) *model.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeExchange ¶
func CodeExchange( rlog log.Ext1FieldLogger, oState *state.State, code string, networkData api.ClientMetaData, ) *model.Response
CodeExchange performs an oidc code exchange it creates the mytoken and stores it in the database
func GetAuthorizationURL ¶ added in v0.2.0
func GetAuthorizationURL( rlog log.Ext1FieldLogger, tx *sqlx.Tx, provider *config.ProviderConf, oState *state.State, restrictions restrictions.Restrictions, ) (string, error)
GetAuthorizationURL creates a authorization url
func StartAuthCodeFlow ¶
func StartAuthCodeFlow(ctx *fiber.Ctx, oidcReq *response.OIDCFlowRequest) *model.Response
StartAuthCodeFlow starts an authorization code flow
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.