auth

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenSyncInfo

type TokenSyncInfo struct {
	sync.RWMutex // mutex protects Token only, all other fields are written on initialization only
	Token        string
	Application  string
	RefreshToken string
	ServerURL    string
}

func (*TokenSyncInfo) GetToken

func (ts *TokenSyncInfo) GetToken() (token string)

func (*TokenSyncInfo) GetTokenLocked

func (ts *TokenSyncInfo) GetTokenLocked() (token string)

func (*TokenSyncInfo) SetApplication

func (ts *TokenSyncInfo) SetApplication(application string)

func (*TokenSyncInfo) UpdateToken

func (ts *TokenSyncInfo) UpdateToken(token string)

func (*TokenSyncInfo) UpdateTokenLocked

func (ts *TokenSyncInfo) UpdateTokenLocked(token string)

Jump to

Keyboard shortcuts

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