token

package
v0.0.0-...-fade1fe Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
	GUID             string    `bson:"guid"`
	Access           string    `bson:"access_token"`
	Refresh          string    `bson:"refresh_token"`
	CreatedAt        time.Time `bson:"created_at"`
	RefreshExpiredAt time.Time `bson:"refresh_expired_at"`
}

Token contains access, refresh tokens, of user with guid

Jump to

Keyboard shortcuts

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