authcode

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 39 Imported by: 0

Documentation

Index

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, string)

CodeExchange performs an OIDC code exchange, 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 model.Provider, oState *state.State,
	restrictions restrictions.Restrictions,
) (string, error)

GetAuthorizationURL creates an authorization url

func StartAuthCodeFlow

func StartAuthCodeFlow(ctx *fiber.Ctx, req *response.AuthCodeFlowRequest) *model.Response

StartAuthCodeFlow starts an authorization code flow

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL