response

package
v1.19.6-beta0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModifyPayload added in v1.17.43

type ModifyPayload struct {
	RefreshToken string `json:"refreshToken"`
	AccessToken  string `json:"accessToken,omitempty"`
}

type RefreshToken added in v1.17.2

type RefreshToken struct {
	AccessToken string `json:"access_token"`
	Payload     string `json:"payload,omitempty"`
}

type ThirdPartyLogin

type ThirdPartyLogin struct {
	Token    string `json:"token"`
	Mfa      bool   `json:"mfa"`
	Callback string `json:"callback,omitempty"`
}

type VerifyAccessToken added in v1.17.2

type VerifyAccessToken struct {
	UID     uint   `json:"uid"`
	Payload string `json:"payload,omitempty"`
}

type VerifyTokenSuccess

type VerifyTokenSuccess struct {
	UserID    uint     `json:"userID"`
	Name      string   `json:"name"`
	Groups    []string `json:"groups"`
	AvatarUrl string   `json:"avatarUrl"`

	RefreshToken string `json:"refreshToken"`
	AccessToken  string `json:"accessToken"`
}

Jump to

Keyboard shortcuts

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