Versions in this module Expand all Collapse all v2 v2.0.0 Apr 2, 2026 Changes in this version + const EnvVarCloudQueryAPIKey + const ExpiryBuffer + const FirebaseAPIKey + const TokenBaseURL + var UndefinedToken = Token + func IsTokenExpiredError(err error) bool + func ReadRefreshToken() (string, error) + func RemoveRefreshToken() error + func SaveRefreshToken(refreshToken string) error + type Token struct + Type TokenType + Value string + func (t Token) String() string + type TokenClient struct + func NewTokenClient() *TokenClient + func (tc *TokenClient) GetToken() (Token, error) + func (tc *TokenClient) GetTokenType() TokenType + type TokenError struct + Body []byte + ErrorDetails struct{ ... } + func TokenErrorFromBody(body []byte) *TokenError + func (t TokenError) Error() string + type TokenType int + const APIKey + const BearerToken + const SyncRunAPIKey + const SyncTestConnectionAPIKey + const Undefined Other modules containing this package github.com/cloudquery/cloudquery-platform-api-go