work_auth

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// https://api.slack.com/scopes/channels:read
	ScopeChannelsRead = "channels:read"

	// https://api.slack.com/scopes/channels:history
	ScopeChannelsHistory = "channels:history"

	// https://api.slack.com/scopes/users:read
	ScopeUsersRead = "users:read"
)

Variables

This section is empty.

Functions

func New

Types

type App

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

func (App) Config

func (z App) Config(scope []string) *oauth2.Config

func (App) UsePKCE

func (z App) UsePKCE() bool

Jump to

Keyboard shortcuts

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