Documentation ¶
Overview ¶
Package gsmauth provides the authentication mechanisms for Google APIs
Index ¶
- func GetClient(subject string, credentials []byte, scope ...string) (client *http.Client, err error)
- func GetClientADC(subject, serviceAccountEmail string, scope ...string) (client *http.Client, err error)
- func GetClientUser(credentials []byte, tokenName string, redirectPort int, scope ...string) (client *http.Client, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClient ¶
func GetClient(subject string, credentials []byte, scope ...string) (client *http.Client, err error)
GetClient returns a client to be used for API services
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.