Help us shape the future of Go! Take the 2026 Go Developer Survey

scope

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scope

type Scope string
const (
	OpenId        Scope = "openid"
	Profile       Scope = "profile"
	Email         Scope = "email"
	OfflineAccess Scope = "offline_access"
)

The standard scopes. offline_access is an optional client scope, so it has to be named or a login lasts as long as one access token.

type Scopes

type Scopes []Scope

func (Scopes) String

func (s Scopes) String() string

String renders the scope request parameter, which RFC 6749 defines as space-delimited.

Jump to

Keyboard shortcuts

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