token

package
v2.56.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminScope        = "applied-permissions/admin"
	GroupsScopePrefix = "applied-permissions/groups:"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenCreateCommand

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

func NewAccessTokenCreateCommand

func NewAccessTokenCreateCommand() *AccessTokenCreateCommand

func (*AccessTokenCreateCommand) CommandName

func (atc *AccessTokenCreateCommand) CommandName() string

func (*AccessTokenCreateCommand) Response

func (atc *AccessTokenCreateCommand) Response() ([]byte, error)

func (*AccessTokenCreateCommand) Run

func (atc *AccessTokenCreateCommand) Run() error

func (*AccessTokenCreateCommand) ServerDetails

func (atc *AccessTokenCreateCommand) ServerDetails() (*config.ServerDetails, error)

func (*AccessTokenCreateCommand) SetAudience

func (atc *AccessTokenCreateCommand) SetAudience(audience string) *AccessTokenCreateCommand

func (*AccessTokenCreateCommand) SetDescription

func (atc *AccessTokenCreateCommand) SetDescription(description string) *AccessTokenCreateCommand

func (*AccessTokenCreateCommand) SetExpiry

func (atc *AccessTokenCreateCommand) SetExpiry(expiry *uint) *AccessTokenCreateCommand

func (*AccessTokenCreateCommand) SetGrantAdmin

func (atc *AccessTokenCreateCommand) SetGrantAdmin(grantAdmin bool) *AccessTokenCreateCommand

func (*AccessTokenCreateCommand) SetGroups

func (*AccessTokenCreateCommand) SetIncludeReferenceToken

func (atc *AccessTokenCreateCommand) SetIncludeReferenceToken(includeReferenceToken bool) *AccessTokenCreateCommand

func (*AccessTokenCreateCommand) SetProjectKey

func (atc *AccessTokenCreateCommand) SetProjectKey(projectKey string) *AccessTokenCreateCommand

func (*AccessTokenCreateCommand) SetRefreshable

func (atc *AccessTokenCreateCommand) SetRefreshable(refreshable bool) *AccessTokenCreateCommand

func (*AccessTokenCreateCommand) SetScope

func (*AccessTokenCreateCommand) SetServerDetails

func (atc *AccessTokenCreateCommand) SetServerDetails(serverDetails *config.ServerDetails) *AccessTokenCreateCommand

func (*AccessTokenCreateCommand) SetUsername

func (atc *AccessTokenCreateCommand) SetUsername(username string) *AccessTokenCreateCommand

Jump to

Keyboard shortcuts

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