Documentation
¶
Index ¶
- Variables
- type AuthToken
- func (*AuthToken) Descriptor() ([]byte, []int)deprecated
- func (x *AuthToken) GetAccountId() string
- func (x *AuthToken) GetApproximateLastUsedTime() *timestamp.Timestamp
- func (x *AuthToken) GetAuthMethodId() string
- func (x *AuthToken) GetCreatedTime() *timestamp.Timestamp
- func (x *AuthToken) GetExpirationTime() *timestamp.Timestamp
- func (x *AuthToken) GetId() string
- func (x *AuthToken) GetScope() *scopes.ScopeInfo
- func (x *AuthToken) GetScopeId() string
- func (x *AuthToken) GetToken() string
- func (x *AuthToken) GetUpdatedTime() *timestamp.Timestamp
- func (x *AuthToken) GetUserId() string
- func (*AuthToken) ProtoMessage()
- func (x *AuthToken) ProtoReflect() protoreflect.Message
- func (x *AuthToken) Reset()
- func (x *AuthToken) String() string
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 { // The ID of the AuthToken // Output only. Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` // The scope this auth token is in. ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty"` // Scope information for this resource // Output only. Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"` // 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. // Output only. Token string `protobuf:"bytes,40,opt,name=token,proto3" json:"token,omitempty"` // The id of the user of this AuthToken. // Output only. UserId string `protobuf:"bytes,50,opt,name=user_id,proto3" json:"user_id,omitempty"` // The id of the auth method of this AuthToken. // Output only. AuthMethodId string `protobuf:"bytes,60,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty"` // The id of the auth method account of this AuthToken. // Output only. AccountId string `protobuf:"bytes,70,opt,name=account_id,proto3" json:"account_id,omitempty"` // The time this resource was created // Output only. CreatedTime *timestamp.Timestamp `protobuf:"bytes,80,opt,name=created_time,proto3" json:"created_time,omitempty"` // The time this resource was last updated. // Output only. UpdatedTime *timestamp.Timestamp `protobuf:"bytes,90,opt,name=updated_time,proto3" json:"updated_time,omitempty"` // The approximate time this AuthToken was last used. // Output only. ApproximateLastUsedTime *timestamp.Timestamp `protobuf:"bytes,100,opt,name=approximate_last_used_time,proto3" json:"approximate_last_used_time,omitempty"` // The time this AuthToken expires. // Output only. ExpirationTime *timestamp.Timestamp `protobuf:"bytes,110,opt,name=expiration_time,proto3" json:"expiration_time,omitempty"` // contains filtered or unexported fields }
AuthToken contains all fields related to an AuthToken resource
func (*AuthToken) Descriptor
deprecated
func (*AuthToken) GetAccountId ¶
func (*AuthToken) GetApproximateLastUsedTime ¶
func (*AuthToken) GetAuthMethodId ¶
func (*AuthToken) GetCreatedTime ¶
func (*AuthToken) GetExpirationTime ¶
func (*AuthToken) GetScopeId ¶
func (*AuthToken) GetUpdatedTime ¶
func (*AuthToken) ProtoMessage ¶
func (*AuthToken) ProtoMessage()
func (*AuthToken) ProtoReflect ¶
func (x *AuthToken) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.