auth

package
v0.4.0-preview Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2020 License: Apache-2.0 Imports: 0 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 {
	APIKey         string `json:"apiKey,omitempty" yaml:"apiKey,omitempty"`
	RefreshToken   string `json:"refreshToken,omitempty" yaml:"refreshToken,omitempty"`
	AccessToken    string `json:"accessToken,omitempty" yaml:"accessToken,omitempty"`
	ExpirationTime int    `json:"expirationTime,omitempty" yaml:"expirationTime,omitempty"`
}

Token stores the Oauth2 Token.

type User

type User struct {
	UID         string `json:"uid,omitempty"`
	DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
	Email       string `json:"email,omitempty"`
	Token       Token  `json:"stsTokenManager,omitempty"`
}

User represents the User object.

Jump to

Keyboard shortcuts

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