dto

package
v0.0.0-...-5c97e34 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	Firstname string `json:"firstname"`
	Lastname  string `json:"lastname"`
	Email     string `json:"email"`
	Extra     string `json:"extra"`
}

type SetTokenRequest

type SetTokenRequest struct {
	AccessToken  string `json:"access_token" binding:"required,jwt"`
	RefreshToken string `json:"refresh_token" binding:"required,base64rawurl"`
	Scope        string `json:"scope" binding:"required"`
	ExpiresIn    int    `json:"expires_in" binding:"required,min=0,max=10000"`
}

Jump to

Keyboard shortcuts

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