Documentation ¶
Overview ¶
Package auth and its subpackages define types and functions related to Lyft's OAuth flows.
Index ¶
Constants ¶
View Source
const ( Public = "public" RidesRead = "rides.read" Offline = "offline" RidesRequest = "rides.request" Profile = "profile" )
Scopes.
Variables ¶
This section is empty.
Functions ¶
func SandboxSecret ¶
SandboxSecret returns the sandboxed form of an non-sandboxed client secret. See https://developer.lyft.com/v1/docs/sandbox.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package threeleg provides functions for working with the three-legged OAuth flow described at https://developer.lyft.com/v1/docs/authentication#section-3-legged-flow-for-accessing-user-specific-endpoints.
|
Package threeleg provides functions for working with the three-legged OAuth flow described at https://developer.lyft.com/v1/docs/authentication#section-3-legged-flow-for-accessing-user-specific-endpoints. |
Package twoleg provides functions for working with the two-legged OAuth flow described at https://developer.lyft.com/v1/docs/authentication#section-client-credentials-2-legged-flow-for-public-endpoints.
|
Package twoleg provides functions for working with the two-legged OAuth flow described at https://developer.lyft.com/v1/docs/authentication#section-client-credentials-2-legged-flow-for-public-endpoints. |
Click to show internal directories.
Click to hide internal directories.