gphotos

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIAppCredentials

type APIAppCredentials gphotos.APIAppCredentials

type AuthenticateUserFuncConfig

type AuthenticateUserFuncConfig struct {
	// contains filtered or unexported fields
}

type AuthenticateUserOption

type AuthenticateUserOption func(*AuthenticateUserFuncConfig) error

func WithUserLoginHint

func WithUserLoginHint(loginHint string) AuthenticateUserOption

DEPRECATED

type AuthorizedClient

type AuthorizedClient oauth2ns.AuthorizedClient

type Client

type Client struct {
	*gphotos.Client
}

DEPRECATED

func NewClient

func NewClient(options ...ClientConstructorOption) (client *Client, merr error)

DEPRECATED

type ClientConstructorOption

type ClientConstructorOption func() (*AuthorizedClient, error)

func AuthenticateUser

func AuthenticateUser(oauthConfig *oauth2.Config, options ...AuthenticateUserOption) ClientConstructorOption

AuthenticateUser() option creates a new http.Client with a bearer access token DEPRECATED

func FromToken

func FromToken(oauthConfig *oauth2.Config, token *oauth2.Token) ClientConstructorOption

DEPRECATED

Jump to

Keyboard shortcuts

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