authtokens

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_api_resources_authtokens_v1_authtoken_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthToken

type AuthToken struct {

	// Output only. The ID of the Auth Token.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// The Scope in which this Auth Token was generated.
	ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty"`
	// Output only. Scope information for this resource.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Output only. The token value, which will only be populated after authentication and is only ever visible to the end user whose login request resulted in this Auth Token being created.
	Token string `protobuf:"bytes,40,opt,name=token,proto3" json:"token,omitempty"`
	// Output only. The ID of the User associated with this Auth Token.
	UserId string `protobuf:"bytes,50,opt,name=user_id,proto3" json:"user_id,omitempty"`
	// Output only. The ID of the Auth Method associated with this Auth Token.
	AuthMethodId string `protobuf:"bytes,60,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty"`
	// Output only. The ID of the Account associated with this Auth Token.
	AccountId string `protobuf:"bytes,70,opt,name=account_id,proto3" json:"account_id,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,80,opt,name=created_time,proto3" json:"created_time,omitempty"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,90,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
	// Output only. The approximate time this Auth Token was last used.
	ApproximateLastUsedTime *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=approximate_last_used_time,proto3" json:"approximate_last_used_time,omitempty"`
	// Output only. The time this Auth Token expires.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,110,opt,name=expiration_time,proto3" json:"expiration_time,omitempty"`
	// Output only. The available actions on this resource for this user.
	AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty"`
	// contains filtered or unexported fields
}

AuthToken contains all fields related to an Auth Token resource

func (*AuthToken) Descriptor deprecated

func (*AuthToken) Descriptor() ([]byte, []int)

Deprecated: Use AuthToken.ProtoReflect.Descriptor instead.

func (*AuthToken) GetAccountId

func (x *AuthToken) GetAccountId() string

func (*AuthToken) GetApproximateLastUsedTime

func (x *AuthToken) GetApproximateLastUsedTime() *timestamppb.Timestamp

func (*AuthToken) GetAuthMethodId

func (x *AuthToken) GetAuthMethodId() string

func (*AuthToken) GetAuthorizedActions

func (x *AuthToken) GetAuthorizedActions() []string

func (*AuthToken) GetCreatedTime

func (x *AuthToken) GetCreatedTime() *timestamppb.Timestamp

func (*AuthToken) GetExpirationTime

func (x *AuthToken) GetExpirationTime() *timestamppb.Timestamp

func (*AuthToken) GetId

func (x *AuthToken) GetId() string

func (*AuthToken) GetScope

func (x *AuthToken) GetScope() *scopes.ScopeInfo

func (*AuthToken) GetScopeId

func (x *AuthToken) GetScopeId() string

func (*AuthToken) GetToken

func (x *AuthToken) GetToken() string

func (*AuthToken) GetUpdatedTime

func (x *AuthToken) GetUpdatedTime() *timestamppb.Timestamp

func (*AuthToken) GetUserId

func (x *AuthToken) GetUserId() string

func (*AuthToken) ProtoMessage

func (*AuthToken) ProtoMessage()

func (*AuthToken) ProtoReflect

func (x *AuthToken) ProtoReflect() protoreflect.Message

func (*AuthToken) Reset

func (x *AuthToken) Reset()

func (*AuthToken) String

func (x *AuthToken) String() string

Jump to

Keyboard shortcuts

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