authcode

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 33 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

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, provider *config.ProviderConf, oState, pkceChallenge string,
	restrictions restrictions.Restrictions,
) string

GetAuthorizationURL creates a authorization url

func Init

func Init()

Init initializes the authcode component

func StartAuthCodeFlow

func StartAuthCodeFlow(ctx *fiber.Ctx, oidcReq response.OIDCFlowRequest) *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