mytoken

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleMytokenFromMytoken

func HandleMytokenFromMytoken(ctx *fiber.Ctx) *model.Response

HandleMytokenFromMytoken handles requests to create a Mytoken from an existing Mytoken

func HandleMytokenFromMytokenReq added in v0.4.0

func HandleMytokenFromMytokenReq(
	rlog log.Ext1FieldLogger, parent *mytoken.Mytoken, req *response.MytokenFromMytokenRequest,
	networkData *api.ClientMetaData,
	usedRestriction *restrictions.Restriction,
) *model.Response

HandleMytokenFromMytokenReq handles a mytoken request (from an existing mytoken)

func HandleMytokenFromMytokenReqChecks added in v0.4.0

func HandleMytokenFromMytokenReqChecks(
	rlog log.Ext1FieldLogger, req *response.MytokenFromMytokenRequest, ip string,
	ctx *fiber.Ctx,
) (*restrictions.Restriction, *mytoken.Mytoken, *model.Response)

HandleMytokenFromMytokenReqChecks handles the necessary req checks for a pkg.MytokenFromMytokenRequest

func HandleMytokenFromTransferCode

func HandleMytokenFromTransferCode(ctx *fiber.Ctx) *model.Response

HandleMytokenFromTransferCode handles requests to return the mytoken for a transfer code

func RevokeMytoken

func RevokeMytoken(
	rlog log.Ext1FieldLogger, tx *sqlx.Tx, id mtid.MTID, jwt string, recursive bool, issuer string,
) *model.Response

RevokeMytoken revokes a Mytoken

Types

This section is empty.

Directories

Path Synopsis
pkg
pkg

Jump to

Keyboard shortcuts

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