sessiontoken

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTokenRequest

type CreateTokenRequest struct {
	// The email address you used to join the organization for which you want a session token. Only used for Create Token requests
	Email string `json:"email"`
	// The password you provided to SignalFx when you accepted an invitation to join an organization. Only used for Create Token requests
	Password string `json:"password"`
	// Org to use - needed when the user uses same email in multiple orgs
	OrganizationId string `json:"organizationId"`
}

Properties of a session token request.

type Token

type Token struct {
	// The user session token used for API requests
	AccessToken string `json:"accessToken"`
	// unknown (not documented)
	AuthMethod string `json:"authMethod"`
	// The internal user ID of the user who created the token
	CreatedBy string `json:"createdBy"`
	// The date and time that the token was created, in Unix time This property is set by the system, and you can't change it.
	CreatedMs int64 `json:"createdMs"`
	// Indicates if the token is disabled or not. When you first create a token, the value of disabled is false.
	Disabled bool `json:"disabled"`
	// The email address submitted in the request to create the token
	Email string `json:"email"`
	// The date and time that the token will expire, in Unix time
	ExpiryMs int64 `json:"expiryMs"`
	// The SignalFx identifier of this access token
	ID string `json:"id"`
	// The SignalFx identifier of the organization that the user belongs to
	OrganizationID string `json:"organizationId"`
	// unknown (not documented)
	PersonaID string `json:"personaId"`
	// unknown (not documented)
	ReadOnly bool `json:"readOnly"`
	// Always set to ORG_USER
	SessionType string `json:"sessionType"`
	// The date and time that the token was updated, in Unix time For a successful "create token" request, this value is the same as that for createdMs. This value is set by the system, and you can't change it.
	UpdatedMs int `json:"updatedMs"`
	// The SignalFx identifier of the user who created the token
	UserID string `json:"userId"`
}

Properties of a session token, in the form of a JSON object

Jump to

Keyboard shortcuts

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