Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct { Token string IP string Comment string Mytoken *mytoken.Mytoken Scopes []string Audiences []string }
AccessToken holds database information about an access token
func (*AccessToken) Store ¶
func (t *AccessToken) Store(rlog log.Ext1FieldLogger, tx *sqlx.Tx) error
Store stores the AccessToken in the database as well as the relevant attributes
Click to show internal directories.
Click to hide internal directories.