Documentation ¶
Index ¶
- Constants
- Variables
- type CheckOAuthSignatureRequest
- type CheckOAuthSignatureResponse
- func (*CheckOAuthSignatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckOAuthSignatureResponse) GetOauthConsumerKey() string
- func (*CheckOAuthSignatureResponse) ProtoMessage()
- func (x *CheckOAuthSignatureResponse) ProtoReflect() protoreflect.Message
- func (x *CheckOAuthSignatureResponse) Reset()
- func (x *CheckOAuthSignatureResponse) String() string
- type CreateLoginURLRequest
- func (*CreateLoginURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLoginURLRequest) GetAuthDomain() string
- func (x *CreateLoginURLRequest) GetDestinationUrl() string
- func (x *CreateLoginURLRequest) GetFederatedIdentity() string
- func (*CreateLoginURLRequest) ProtoMessage()
- func (x *CreateLoginURLRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLoginURLRequest) Reset()
- func (x *CreateLoginURLRequest) String() string
- type CreateLoginURLResponse
- func (*CreateLoginURLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLoginURLResponse) GetLoginUrl() string
- func (*CreateLoginURLResponse) ProtoMessage()
- func (x *CreateLoginURLResponse) ProtoReflect() protoreflect.Message
- func (x *CreateLoginURLResponse) Reset()
- func (x *CreateLoginURLResponse) String() string
- type CreateLogoutURLRequest
- func (*CreateLogoutURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLogoutURLRequest) GetAuthDomain() string
- func (x *CreateLogoutURLRequest) GetDestinationUrl() string
- func (*CreateLogoutURLRequest) ProtoMessage()
- func (x *CreateLogoutURLRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLogoutURLRequest) Reset()
- func (x *CreateLogoutURLRequest) String() string
- type CreateLogoutURLResponse
- func (*CreateLogoutURLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLogoutURLResponse) GetLogoutUrl() string
- func (*CreateLogoutURLResponse) ProtoMessage()
- func (x *CreateLogoutURLResponse) ProtoReflect() protoreflect.Message
- func (x *CreateLogoutURLResponse) Reset()
- func (x *CreateLogoutURLResponse) String() string
- type GetOAuthUserRequest
- func (*GetOAuthUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOAuthUserRequest) GetScope() string
- func (x *GetOAuthUserRequest) GetScopes() []string
- func (*GetOAuthUserRequest) ProtoMessage()
- func (x *GetOAuthUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetOAuthUserRequest) Reset()
- func (x *GetOAuthUserRequest) String() string
- type GetOAuthUserResponse
- func (*GetOAuthUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOAuthUserResponse) GetAuthDomain() string
- func (x *GetOAuthUserResponse) GetClientId() string
- func (x *GetOAuthUserResponse) GetEmail() string
- func (x *GetOAuthUserResponse) GetIsAdmin() bool
- func (x *GetOAuthUserResponse) GetScopes() []string
- func (x *GetOAuthUserResponse) GetUserId() string
- func (x *GetOAuthUserResponse) GetUserOrganization() string
- func (*GetOAuthUserResponse) ProtoMessage()
- func (x *GetOAuthUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetOAuthUserResponse) Reset()
- func (x *GetOAuthUserResponse) String() string
- type UserServiceError
- type UserServiceError_ErrorCode
- func (UserServiceError_ErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x UserServiceError_ErrorCode) Enum() *UserServiceError_ErrorCode
- func (UserServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserServiceError_ErrorCode) Number() protoreflect.EnumNumber
- func (x UserServiceError_ErrorCode) String() string
- func (UserServiceError_ErrorCode) Type() protoreflect.EnumType
- func (x *UserServiceError_ErrorCode) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
const ( Default_GetOAuthUserResponse_UserOrganization = string("") Default_GetOAuthUserResponse_IsAdmin = bool(false) Default_GetOAuthUserResponse_ClientId = string("") )
Default values for GetOAuthUserResponse fields.
const (
Default_CreateLoginURLRequest_FederatedIdentity = string("")
)
Default values for CreateLoginURLRequest fields.
Variables ¶
var ( UserServiceError_ErrorCode_name = map[int32]string{ 0: "OK", 1: "REDIRECT_URL_TOO_LONG", 2: "NOT_ALLOWED", 3: "OAUTH_INVALID_TOKEN", 4: "OAUTH_INVALID_REQUEST", 5: "OAUTH_ERROR", } UserServiceError_ErrorCode_value = map[string]int32{ "OK": 0, "REDIRECT_URL_TOO_LONG": 1, "NOT_ALLOWED": 2, "OAUTH_INVALID_TOKEN": 3, "OAUTH_INVALID_REQUEST": 4, "OAUTH_ERROR": 5, } )
Enum value maps for UserServiceError_ErrorCode.
var File_user_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CheckOAuthSignatureRequest ¶
type CheckOAuthSignatureRequest struct {
// contains filtered or unexported fields
}
func (*CheckOAuthSignatureRequest) Descriptor
deprecated
func (*CheckOAuthSignatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckOAuthSignatureRequest.ProtoReflect.Descriptor instead.
func (*CheckOAuthSignatureRequest) ProtoMessage ¶
func (*CheckOAuthSignatureRequest) ProtoMessage()
func (*CheckOAuthSignatureRequest) ProtoReflect ¶ added in v2.0.4
func (x *CheckOAuthSignatureRequest) ProtoReflect() protoreflect.Message
func (*CheckOAuthSignatureRequest) Reset ¶
func (x *CheckOAuthSignatureRequest) Reset()
func (*CheckOAuthSignatureRequest) String ¶
func (x *CheckOAuthSignatureRequest) String() string
type CheckOAuthSignatureResponse ¶
type CheckOAuthSignatureResponse struct { OauthConsumerKey *string `protobuf:"bytes,1,req,name=oauth_consumer_key,json=oauthConsumerKey" json:"oauth_consumer_key,omitempty"` // contains filtered or unexported fields }
func (*CheckOAuthSignatureResponse) Descriptor
deprecated
func (*CheckOAuthSignatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckOAuthSignatureResponse.ProtoReflect.Descriptor instead.
func (*CheckOAuthSignatureResponse) GetOauthConsumerKey ¶
func (x *CheckOAuthSignatureResponse) GetOauthConsumerKey() string
func (*CheckOAuthSignatureResponse) ProtoMessage ¶
func (*CheckOAuthSignatureResponse) ProtoMessage()
func (*CheckOAuthSignatureResponse) ProtoReflect ¶ added in v2.0.4
func (x *CheckOAuthSignatureResponse) ProtoReflect() protoreflect.Message
func (*CheckOAuthSignatureResponse) Reset ¶
func (x *CheckOAuthSignatureResponse) Reset()
func (*CheckOAuthSignatureResponse) String ¶
func (x *CheckOAuthSignatureResponse) String() string
type CreateLoginURLRequest ¶
type CreateLoginURLRequest struct { DestinationUrl *string `protobuf:"bytes,1,req,name=destination_url,json=destinationUrl" json:"destination_url,omitempty"` AuthDomain *string `protobuf:"bytes,2,opt,name=auth_domain,json=authDomain" json:"auth_domain,omitempty"` FederatedIdentity *string `protobuf:"bytes,3,opt,name=federated_identity,json=federatedIdentity,def=" json:"federated_identity,omitempty"` // contains filtered or unexported fields }
func (*CreateLoginURLRequest) Descriptor
deprecated
func (*CreateLoginURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLoginURLRequest.ProtoReflect.Descriptor instead.
func (*CreateLoginURLRequest) GetAuthDomain ¶
func (x *CreateLoginURLRequest) GetAuthDomain() string
func (*CreateLoginURLRequest) GetDestinationUrl ¶
func (x *CreateLoginURLRequest) GetDestinationUrl() string
func (*CreateLoginURLRequest) GetFederatedIdentity ¶
func (x *CreateLoginURLRequest) GetFederatedIdentity() string
func (*CreateLoginURLRequest) ProtoMessage ¶
func (*CreateLoginURLRequest) ProtoMessage()
func (*CreateLoginURLRequest) ProtoReflect ¶ added in v2.0.4
func (x *CreateLoginURLRequest) ProtoReflect() protoreflect.Message
func (*CreateLoginURLRequest) Reset ¶
func (x *CreateLoginURLRequest) Reset()
func (*CreateLoginURLRequest) String ¶
func (x *CreateLoginURLRequest) String() string
type CreateLoginURLResponse ¶
type CreateLoginURLResponse struct { LoginUrl *string `protobuf:"bytes,1,req,name=login_url,json=loginUrl" json:"login_url,omitempty"` // contains filtered or unexported fields }
func (*CreateLoginURLResponse) Descriptor
deprecated
func (*CreateLoginURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateLoginURLResponse.ProtoReflect.Descriptor instead.
func (*CreateLoginURLResponse) GetLoginUrl ¶
func (x *CreateLoginURLResponse) GetLoginUrl() string
func (*CreateLoginURLResponse) ProtoMessage ¶
func (*CreateLoginURLResponse) ProtoMessage()
func (*CreateLoginURLResponse) ProtoReflect ¶ added in v2.0.4
func (x *CreateLoginURLResponse) ProtoReflect() protoreflect.Message
func (*CreateLoginURLResponse) Reset ¶
func (x *CreateLoginURLResponse) Reset()
func (*CreateLoginURLResponse) String ¶
func (x *CreateLoginURLResponse) String() string
type CreateLogoutURLRequest ¶
type CreateLogoutURLRequest struct { DestinationUrl *string `protobuf:"bytes,1,req,name=destination_url,json=destinationUrl" json:"destination_url,omitempty"` AuthDomain *string `protobuf:"bytes,2,opt,name=auth_domain,json=authDomain" json:"auth_domain,omitempty"` // contains filtered or unexported fields }
func (*CreateLogoutURLRequest) Descriptor
deprecated
func (*CreateLogoutURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLogoutURLRequest.ProtoReflect.Descriptor instead.
func (*CreateLogoutURLRequest) GetAuthDomain ¶
func (x *CreateLogoutURLRequest) GetAuthDomain() string
func (*CreateLogoutURLRequest) GetDestinationUrl ¶
func (x *CreateLogoutURLRequest) GetDestinationUrl() string
func (*CreateLogoutURLRequest) ProtoMessage ¶
func (*CreateLogoutURLRequest) ProtoMessage()
func (*CreateLogoutURLRequest) ProtoReflect ¶ added in v2.0.4
func (x *CreateLogoutURLRequest) ProtoReflect() protoreflect.Message
func (*CreateLogoutURLRequest) Reset ¶
func (x *CreateLogoutURLRequest) Reset()
func (*CreateLogoutURLRequest) String ¶
func (x *CreateLogoutURLRequest) String() string
type CreateLogoutURLResponse ¶
type CreateLogoutURLResponse struct { LogoutUrl *string `protobuf:"bytes,1,req,name=logout_url,json=logoutUrl" json:"logout_url,omitempty"` // contains filtered or unexported fields }
func (*CreateLogoutURLResponse) Descriptor
deprecated
func (*CreateLogoutURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateLogoutURLResponse.ProtoReflect.Descriptor instead.
func (*CreateLogoutURLResponse) GetLogoutUrl ¶
func (x *CreateLogoutURLResponse) GetLogoutUrl() string
func (*CreateLogoutURLResponse) ProtoMessage ¶
func (*CreateLogoutURLResponse) ProtoMessage()
func (*CreateLogoutURLResponse) ProtoReflect ¶ added in v2.0.4
func (x *CreateLogoutURLResponse) ProtoReflect() protoreflect.Message
func (*CreateLogoutURLResponse) Reset ¶
func (x *CreateLogoutURLResponse) Reset()
func (*CreateLogoutURLResponse) String ¶
func (x *CreateLogoutURLResponse) String() string
type GetOAuthUserRequest ¶
type GetOAuthUserRequest struct { Scope *string `protobuf:"bytes,1,opt,name=scope" json:"scope,omitempty"` Scopes []string `protobuf:"bytes,2,rep,name=scopes" json:"scopes,omitempty"` // contains filtered or unexported fields }
func (*GetOAuthUserRequest) Descriptor
deprecated
func (*GetOAuthUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOAuthUserRequest.ProtoReflect.Descriptor instead.
func (*GetOAuthUserRequest) GetScope ¶
func (x *GetOAuthUserRequest) GetScope() string
func (*GetOAuthUserRequest) GetScopes ¶
func (x *GetOAuthUserRequest) GetScopes() []string
func (*GetOAuthUserRequest) ProtoMessage ¶
func (*GetOAuthUserRequest) ProtoMessage()
func (*GetOAuthUserRequest) ProtoReflect ¶ added in v2.0.4
func (x *GetOAuthUserRequest) ProtoReflect() protoreflect.Message
func (*GetOAuthUserRequest) Reset ¶
func (x *GetOAuthUserRequest) Reset()
func (*GetOAuthUserRequest) String ¶
func (x *GetOAuthUserRequest) String() string
type GetOAuthUserResponse ¶
type GetOAuthUserResponse struct { Email *string `protobuf:"bytes,1,req,name=email" json:"email,omitempty"` UserId *string `protobuf:"bytes,2,req,name=user_id,json=userId" json:"user_id,omitempty"` AuthDomain *string `protobuf:"bytes,3,req,name=auth_domain,json=authDomain" json:"auth_domain,omitempty"` UserOrganization *string `protobuf:"bytes,4,opt,name=user_organization,json=userOrganization,def=" json:"user_organization,omitempty"` IsAdmin *bool `protobuf:"varint,5,opt,name=is_admin,json=isAdmin,def=0" json:"is_admin,omitempty"` ClientId *string `protobuf:"bytes,6,opt,name=client_id,json=clientId,def=" json:"client_id,omitempty"` Scopes []string `protobuf:"bytes,7,rep,name=scopes" json:"scopes,omitempty"` // contains filtered or unexported fields }
func (*GetOAuthUserResponse) Descriptor
deprecated
func (*GetOAuthUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOAuthUserResponse.ProtoReflect.Descriptor instead.
func (*GetOAuthUserResponse) GetAuthDomain ¶
func (x *GetOAuthUserResponse) GetAuthDomain() string
func (*GetOAuthUserResponse) GetClientId ¶
func (x *GetOAuthUserResponse) GetClientId() string
func (*GetOAuthUserResponse) GetEmail ¶
func (x *GetOAuthUserResponse) GetEmail() string
func (*GetOAuthUserResponse) GetIsAdmin ¶
func (x *GetOAuthUserResponse) GetIsAdmin() bool
func (*GetOAuthUserResponse) GetScopes ¶
func (x *GetOAuthUserResponse) GetScopes() []string
func (*GetOAuthUserResponse) GetUserId ¶
func (x *GetOAuthUserResponse) GetUserId() string
func (*GetOAuthUserResponse) GetUserOrganization ¶
func (x *GetOAuthUserResponse) GetUserOrganization() string
func (*GetOAuthUserResponse) ProtoMessage ¶
func (*GetOAuthUserResponse) ProtoMessage()
func (*GetOAuthUserResponse) ProtoReflect ¶ added in v2.0.4
func (x *GetOAuthUserResponse) ProtoReflect() protoreflect.Message
func (*GetOAuthUserResponse) Reset ¶
func (x *GetOAuthUserResponse) Reset()
func (*GetOAuthUserResponse) String ¶
func (x *GetOAuthUserResponse) String() string
type UserServiceError ¶
type UserServiceError struct {
// contains filtered or unexported fields
}
func (*UserServiceError) Descriptor
deprecated
func (*UserServiceError) Descriptor() ([]byte, []int)
Deprecated: Use UserServiceError.ProtoReflect.Descriptor instead.
func (*UserServiceError) ProtoMessage ¶
func (*UserServiceError) ProtoMessage()
func (*UserServiceError) ProtoReflect ¶ added in v2.0.4
func (x *UserServiceError) ProtoReflect() protoreflect.Message
func (*UserServiceError) Reset ¶
func (x *UserServiceError) Reset()
func (*UserServiceError) String ¶
func (x *UserServiceError) String() string
type UserServiceError_ErrorCode ¶
type UserServiceError_ErrorCode int32
const ( UserServiceError_OK UserServiceError_ErrorCode = 0 UserServiceError_REDIRECT_URL_TOO_LONG UserServiceError_ErrorCode = 1 UserServiceError_NOT_ALLOWED UserServiceError_ErrorCode = 2 UserServiceError_OAUTH_INVALID_TOKEN UserServiceError_ErrorCode = 3 UserServiceError_OAUTH_INVALID_REQUEST UserServiceError_ErrorCode = 4 UserServiceError_OAUTH_ERROR UserServiceError_ErrorCode = 5 )
func (UserServiceError_ErrorCode) Descriptor ¶ added in v2.0.4
func (UserServiceError_ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (UserServiceError_ErrorCode) Enum ¶
func (x UserServiceError_ErrorCode) Enum() *UserServiceError_ErrorCode
func (UserServiceError_ErrorCode) EnumDescriptor
deprecated
func (UserServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserServiceError_ErrorCode.Descriptor instead.
func (UserServiceError_ErrorCode) Number ¶ added in v2.0.4
func (x UserServiceError_ErrorCode) Number() protoreflect.EnumNumber
func (UserServiceError_ErrorCode) String ¶
func (x UserServiceError_ErrorCode) String() string
func (UserServiceError_ErrorCode) Type ¶ added in v2.0.4
func (UserServiceError_ErrorCode) Type() protoreflect.EnumType
func (*UserServiceError_ErrorCode) UnmarshalJSON
deprecated
func (x *UserServiceError_ErrorCode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.