linkedauth

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

func (*Handler) Exec

func (h *Handler) Exec(ctx context.Context, sess xhandler.Session) (interface{}, error)

type LinkedAuthInput

type LinkedAuthInput struct {
	Jwt  *jwt.Claims `parameter:",kind=header,in=Authorization,dataType=string,errorCode=401" codec:"JwtClaim"`
	Echo string      `parameter:",kind=query,in=echo"`
}

type LinkedAuthOutput

type LinkedAuthOutput struct {
	response.Status `parameter:",kind=output,in=status" json:",omitempty"`
	Data            *LinkedAuthPayload `parameter:",kind=output,in=view" json:"data,omitempty"`
}

type LinkedAuthPayload

type LinkedAuthPayload struct {
	UserID    int    `json:"userID"`
	FirstName string `json:"firstName,omitempty"`
	Echo      string `json:"echo,omitempty"`
}

type LinkedAuthRouter

type LinkedAuthRouter struct {
	LinkedAuth xdatly.Component[LinkedAuthInput, LinkedAuthOutput] `` /* 134-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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