Documentation ¶
Index ¶
- Constants
- Variables
- type CheckOAuthSignatureRequest
- type CheckOAuthSignatureResponse
- type CreateFederatedLoginRequest
- type CreateFederatedLoginResponse
- type CreateFederatedLogoutRequest
- type CreateFederatedLogoutResponse
- type CreateLoginURLRequest
- type CreateLoginURLResponse
- type CreateLogoutURLRequest
- type CreateLogoutURLResponse
- type GetOAuthUserRequest
- type GetOAuthUserResponse
- type UserServiceError
- type UserServiceError_ErrorCode
Constants ¶
View Source
const Default_GetOAuthUserResponse_IsAdmin bool = false
Variables ¶
View Source
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",
}
View Source
var 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,
}
Functions ¶
This section is empty.
Types ¶
type CheckOAuthSignatureRequest ¶
type CheckOAuthSignatureRequest struct {
XXX_unrecognized []byte `json:",omitempty"`
}
func (*CheckOAuthSignatureRequest) Reset ¶
func (this *CheckOAuthSignatureRequest) Reset()
func (*CheckOAuthSignatureRequest) String ¶
func (this *CheckOAuthSignatureRequest) String() string
type CheckOAuthSignatureResponse ¶
type CheckOAuthSignatureResponse struct { OauthConsumerKey *string `protobuf:"bytes,1,req,name=oauth_consumer_key" json:"oauth_consumer_key,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CheckOAuthSignatureResponse) Reset ¶
func (this *CheckOAuthSignatureResponse) Reset()
func (*CheckOAuthSignatureResponse) String ¶
func (this *CheckOAuthSignatureResponse) String() string
type CreateFederatedLoginRequest ¶
type CreateFederatedLoginRequest struct { ClaimedId *string `protobuf:"bytes,1,req,name=claimed_id" json:"claimed_id,omitempty"` ContinueUrl *string `protobuf:"bytes,2,req,name=continue_url" json:"continue_url,omitempty"` Authority *string `protobuf:"bytes,3,opt,name=authority" json:"authority,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CreateFederatedLoginRequest) Reset ¶
func (this *CreateFederatedLoginRequest) Reset()
func (*CreateFederatedLoginRequest) String ¶
func (this *CreateFederatedLoginRequest) String() string
type CreateFederatedLoginResponse ¶
type CreateFederatedLoginResponse struct { RedirectedUrl *string `protobuf:"bytes,1,req,name=redirected_url" json:"redirected_url,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CreateFederatedLoginResponse) Reset ¶
func (this *CreateFederatedLoginResponse) Reset()
func (*CreateFederatedLoginResponse) String ¶
func (this *CreateFederatedLoginResponse) String() string
type CreateFederatedLogoutRequest ¶
type CreateFederatedLogoutRequest struct { DestinationUrl *string `protobuf:"bytes,1,req,name=destination_url" json:"destination_url,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CreateFederatedLogoutRequest) Reset ¶
func (this *CreateFederatedLogoutRequest) Reset()
func (*CreateFederatedLogoutRequest) String ¶
func (this *CreateFederatedLogoutRequest) String() string
type CreateFederatedLogoutResponse ¶
type CreateFederatedLogoutResponse struct { LogoutUrl *string `protobuf:"bytes,1,req,name=logout_url" json:"logout_url,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CreateFederatedLogoutResponse) Reset ¶
func (this *CreateFederatedLogoutResponse) Reset()
func (*CreateFederatedLogoutResponse) String ¶
func (this *CreateFederatedLogoutResponse) String() string
type CreateLoginURLRequest ¶
type CreateLoginURLRequest struct { DestinationUrl *string `protobuf:"bytes,1,req,name=destination_url" json:"destination_url,omitempty"` AuthDomain *string `protobuf:"bytes,2,opt,name=auth_domain" json:"auth_domain,omitempty"` FederatedIdentity *string `protobuf:"bytes,3,opt,name=federated_identity" json:"federated_identity,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CreateLoginURLRequest) Reset ¶
func (this *CreateLoginURLRequest) Reset()
func (*CreateLoginURLRequest) String ¶
func (this *CreateLoginURLRequest) String() string
type CreateLoginURLResponse ¶
type CreateLoginURLResponse struct { LoginUrl *string `protobuf:"bytes,1,req,name=login_url" json:"login_url,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CreateLoginURLResponse) Reset ¶
func (this *CreateLoginURLResponse) Reset()
func (*CreateLoginURLResponse) String ¶
func (this *CreateLoginURLResponse) String() string
type CreateLogoutURLRequest ¶
type CreateLogoutURLRequest struct { DestinationUrl *string `protobuf:"bytes,1,req,name=destination_url" json:"destination_url,omitempty"` AuthDomain *string `protobuf:"bytes,2,opt,name=auth_domain" json:"auth_domain,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CreateLogoutURLRequest) Reset ¶
func (this *CreateLogoutURLRequest) Reset()
func (*CreateLogoutURLRequest) String ¶
func (this *CreateLogoutURLRequest) String() string
type CreateLogoutURLResponse ¶
type CreateLogoutURLResponse struct { LogoutUrl *string `protobuf:"bytes,1,req,name=logout_url" json:"logout_url,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*CreateLogoutURLResponse) Reset ¶
func (this *CreateLogoutURLResponse) Reset()
func (*CreateLogoutURLResponse) String ¶
func (this *CreateLogoutURLResponse) String() string
type GetOAuthUserRequest ¶
type GetOAuthUserRequest struct { Scope *string `protobuf:"bytes,1,opt,name=scope" json:"scope,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*GetOAuthUserRequest) Reset ¶
func (this *GetOAuthUserRequest) Reset()
func (*GetOAuthUserRequest) String ¶
func (this *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:"user_id,omitempty"` AuthDomain *string `protobuf:"bytes,3,req,name=auth_domain" json:"auth_domain,omitempty"` UserOrganization *string `protobuf:"bytes,4,opt,name=user_organization" json:"user_organization,omitempty"` IsAdmin *bool `protobuf:"varint,5,opt,name=is_admin,def=0" json:"is_admin,omitempty"` XXX_unrecognized []byte `json:",omitempty"` }
func (*GetOAuthUserResponse) Reset ¶
func (this *GetOAuthUserResponse) Reset()
func (*GetOAuthUserResponse) String ¶
func (this *GetOAuthUserResponse) String() string
type UserServiceError ¶
type UserServiceError struct {
XXX_unrecognized []byte `json:",omitempty"`
}
func (*UserServiceError) Error ¶
func (this *UserServiceError) Error() string
func (*UserServiceError) Reset ¶
func (this *UserServiceError) Reset()
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 NewUserServiceError_ErrorCode ¶
func NewUserServiceError_ErrorCode(x UserServiceError_ErrorCode) *UserServiceError_ErrorCode
func (UserServiceError_ErrorCode) String ¶
func (x UserServiceError_ErrorCode) String() string
Click to show internal directories.
Click to hide internal directories.