dto

package
v0.0.0-...-69e7fd1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResponseTypeCode = "code"
	GrantTypeCode    = "authorization_code"
	GrantTypeRefresh = "refresh_token"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenByCode

type AccessTokenByCode struct {
	ClientID     string
	ClientSecret string
	CodeHash     string
	IP           string
	Agent        string
}

type AccessTokenByRefresh

type AccessTokenByRefresh struct {
	ClientID     string
	ClientSecret string
	RefreshHash  string
	IP           string
	Agent        string
}

type AuthByCredentials

type AuthByCredentials struct {
	Client   *entity.Client
	Email    string
	Password string
}

type ForgotPassword

type ForgotPassword struct {
	Client *entity.Client
	Email  string
	IP     string
	Agent  string
}

type ResetPassword

type ResetPassword struct {
	Hash     string
	Password string
}

type ValidateResponseType

type ValidateResponseType struct {
	ClientID     string
	ResponseType string
}

Jump to

Keyboard shortcuts

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