mytoken

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: 32 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

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

func HandleMytokenFromMytokenReqChecks(
	rlog log.Ext1FieldLogger, req *response.MytokenFromMytokenRequest, clientData *api.ClientMetaData,
	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