Documentation ¶
Index ¶
- Constants
- type AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) CommandName() string
- func (atc *AccessTokenCreateCommand) Response() ([]byte, error)
- func (atc *AccessTokenCreateCommand) Run() error
- func (atc *AccessTokenCreateCommand) ServerDetails() (*config.ServerDetails, error)
- func (atc *AccessTokenCreateCommand) SetAudience(audience string) *AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) SetDescription(description string) *AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) SetExpiry(expiry *uint) *AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) SetGrantAdmin(grantAdmin bool) *AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) SetGroups(groups string) *AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) SetIncludeReferenceToken(includeReferenceToken bool) *AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) SetProjectKey(projectKey string) *AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) SetRefreshable(refreshable bool) *AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) SetScope(scope string) *AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) SetServerDetails(serverDetails *config.ServerDetails) *AccessTokenCreateCommand
- func (atc *AccessTokenCreateCommand) SetUsername(username string) *AccessTokenCreateCommand
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 (atc *AccessTokenCreateCommand) SetGroups(groups string) *AccessTokenCreateCommand
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 (atc *AccessTokenCreateCommand) SetScope(scope string) *AccessTokenCreateCommand
func (*AccessTokenCreateCommand) SetServerDetails ¶
func (atc *AccessTokenCreateCommand) SetServerDetails(serverDetails *config.ServerDetails) *AccessTokenCreateCommand
func (*AccessTokenCreateCommand) SetUsername ¶
func (atc *AccessTokenCreateCommand) SetUsername(username string) *AccessTokenCreateCommand
Click to show internal directories.
Click to hide internal directories.