Documentation ¶
Index ¶
- func DeviceCodeLogin(devMode bool) error
- func GetAuthFile() string
- func PersonalAccessTokenLogin(personalAccessToken string) error
- func ReadAuthToken() (string, error)
- func RemovePersistedAuthToken() error
- type CustomAuthTokenWrapper
- type DeviceCodeCreationResult
- type DeviceCodeStatusResult
- type FirebaseResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeviceCodeLogin ¶
func GetAuthFile ¶
func GetAuthFile() string
func ReadAuthToken ¶
func RemovePersistedAuthToken ¶
func RemovePersistedAuthToken() error
Types ¶
type CustomAuthTokenWrapper ¶
type CustomAuthTokenWrapper struct {
AuthToken string `json:"authToken"`
}
type DeviceCodeCreationResult ¶
type DeviceCodeCreationResult struct {
DeviceCode string `json:"deviceCode"`
}
type DeviceCodeStatusResult ¶
type FirebaseResponse ¶
type FirebaseResponse struct {
IdToken string `json:"idToken"`
}
Click to show internal directories.
Click to hide internal directories.