Documentation ¶
Index ¶
- func NewAnonymousClient(ctx context.Context) *xrpc.Client
- func NewClient(ctx context.Context, authfile string) *xrpc.Client
- func NewClientWithTokenSource(ctx context.Context, source oauth2.TokenSource) *xrpc.Client
- func NewHttpClient(ctx context.Context, authfile string) *http.Client
- func PasswordAuth(login string, password string) oauth2.TokenSource
- type FileBackedTokenSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PasswordAuth ¶
func PasswordAuth(login string, password string) oauth2.TokenSource
Types ¶
type FileBackedTokenSource ¶
type FileBackedTokenSource struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.