auth

package
v0.0.0-...-e9ebf91 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2018 License: BSD-3-Clause Imports: 0 Imported by: 1

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 AllScopes

func AllScopes() []string

func SandboxSecret

func SandboxSecret(clientSecret string) string

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.

Jump to

Keyboard shortcuts

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