tokens

package
v0.0.0-...-7cc416c Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 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 Token

type Token struct {
	// contains filtered or unexported fields
}

token struct

func (*Token) GenerateToken

func (T *Token) GenerateToken()

Generate token

func (*Token) GetToken

func (T *Token) GetToken() string

get the token context

func (*Token) RefreshToken

func (T *Token) RefreshToken()

Refresh token

func (*Token) VerifyToken

func (T *Token) VerifyToken(token string) bool

check the token

Jump to

Keyboard shortcuts

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