domain

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidModelFieldError

type InvalidModelFieldError struct {
	Model  string
	Field  string
	Reason string
}

func (*InvalidModelFieldError) Error

func (e *InvalidModelFieldError) Error() string

type UserAccess

type UserAccess struct {
	ID           string `json:"id" mapstructure:"id"`
	AccessToken  string `json:"access_token" mapstructure:"access_token"`
	RefreshToken string `json:"refresh_token" mapstructure:"refresh_token"`
	TokenType    string `json:"token_type" mapstructure:"token_type"`
	Scope        string `json:"scope" mapstructure:"scope"`
	Expiry       string `json:"expiry" mapstructure:"expiry"`
}

func (UserAccess) ToJSON

func (u UserAccess) ToJSON() []byte

func (*UserAccess) Validate

func (u *UserAccess) Validate() error

Jump to

Keyboard shortcuts

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