user

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckOAuthSignatureRequest) Descriptor

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

func (*CheckOAuthSignatureRequest) ProtoMessage

func (*CheckOAuthSignatureRequest) ProtoMessage()

func (*CheckOAuthSignatureRequest) Reset

func (m *CheckOAuthSignatureRequest) Reset()

func (*CheckOAuthSignatureRequest) String

func (m *CheckOAuthSignatureRequest) String() string

func (*CheckOAuthSignatureRequest) XXX_DiscardUnknown

func (m *CheckOAuthSignatureRequest) XXX_DiscardUnknown()

func (*CheckOAuthSignatureRequest) XXX_Marshal

func (m *CheckOAuthSignatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckOAuthSignatureRequest) XXX_Merge

func (dst *CheckOAuthSignatureRequest) XXX_Merge(src proto.Message)

func (*CheckOAuthSignatureRequest) XXX_Size

func (m *CheckOAuthSignatureRequest) XXX_Size() int

func (*CheckOAuthSignatureRequest) XXX_Unmarshal

func (m *CheckOAuthSignatureRequest) XXX_Unmarshal(b []byte) error

type CheckOAuthSignatureResponse

type CheckOAuthSignatureResponse struct {
	OauthConsumerKey     *string  `protobuf:"bytes,1,req,name=oauth_consumer_key,json=oauthConsumerKey" json:"oauth_consumer_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckOAuthSignatureResponse) Descriptor

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

func (*CheckOAuthSignatureResponse) GetOauthConsumerKey

func (m *CheckOAuthSignatureResponse) GetOauthConsumerKey() string

func (*CheckOAuthSignatureResponse) ProtoMessage

func (*CheckOAuthSignatureResponse) ProtoMessage()

func (*CheckOAuthSignatureResponse) Reset

func (m *CheckOAuthSignatureResponse) Reset()

func (*CheckOAuthSignatureResponse) String

func (m *CheckOAuthSignatureResponse) String() string

func (*CheckOAuthSignatureResponse) XXX_DiscardUnknown

func (m *CheckOAuthSignatureResponse) XXX_DiscardUnknown()

func (*CheckOAuthSignatureResponse) XXX_Marshal

func (m *CheckOAuthSignatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckOAuthSignatureResponse) XXX_Merge

func (dst *CheckOAuthSignatureResponse) XXX_Merge(src proto.Message)

func (*CheckOAuthSignatureResponse) XXX_Size

func (m *CheckOAuthSignatureResponse) XXX_Size() int

func (*CheckOAuthSignatureResponse) XXX_Unmarshal

func (m *CheckOAuthSignatureResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateLoginURLRequest) Descriptor

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

func (*CreateLoginURLRequest) GetAuthDomain

func (m *CreateLoginURLRequest) GetAuthDomain() string

func (*CreateLoginURLRequest) GetDestinationUrl

func (m *CreateLoginURLRequest) GetDestinationUrl() string

func (*CreateLoginURLRequest) GetFederatedIdentity

func (m *CreateLoginURLRequest) GetFederatedIdentity() string

func (*CreateLoginURLRequest) ProtoMessage

func (*CreateLoginURLRequest) ProtoMessage()

func (*CreateLoginURLRequest) Reset

func (m *CreateLoginURLRequest) Reset()

func (*CreateLoginURLRequest) String

func (m *CreateLoginURLRequest) String() string

func (*CreateLoginURLRequest) XXX_DiscardUnknown

func (m *CreateLoginURLRequest) XXX_DiscardUnknown()

func (*CreateLoginURLRequest) XXX_Marshal

func (m *CreateLoginURLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateLoginURLRequest) XXX_Merge

func (dst *CreateLoginURLRequest) XXX_Merge(src proto.Message)

func (*CreateLoginURLRequest) XXX_Size

func (m *CreateLoginURLRequest) XXX_Size() int

func (*CreateLoginURLRequest) XXX_Unmarshal

func (m *CreateLoginURLRequest) XXX_Unmarshal(b []byte) error

type CreateLoginURLResponse

type CreateLoginURLResponse struct {
	LoginUrl             *string  `protobuf:"bytes,1,req,name=login_url,json=loginUrl" json:"login_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateLoginURLResponse) Descriptor

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

func (*CreateLoginURLResponse) GetLoginUrl

func (m *CreateLoginURLResponse) GetLoginUrl() string

func (*CreateLoginURLResponse) ProtoMessage

func (*CreateLoginURLResponse) ProtoMessage()

func (*CreateLoginURLResponse) Reset

func (m *CreateLoginURLResponse) Reset()

func (*CreateLoginURLResponse) String

func (m *CreateLoginURLResponse) String() string

func (*CreateLoginURLResponse) XXX_DiscardUnknown

func (m *CreateLoginURLResponse) XXX_DiscardUnknown()

func (*CreateLoginURLResponse) XXX_Marshal

func (m *CreateLoginURLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateLoginURLResponse) XXX_Merge

func (dst *CreateLoginURLResponse) XXX_Merge(src proto.Message)

func (*CreateLoginURLResponse) XXX_Size

func (m *CreateLoginURLResponse) XXX_Size() int

func (*CreateLoginURLResponse) XXX_Unmarshal

func (m *CreateLoginURLResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateLogoutURLRequest) Descriptor

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

func (*CreateLogoutURLRequest) GetAuthDomain

func (m *CreateLogoutURLRequest) GetAuthDomain() string

func (*CreateLogoutURLRequest) GetDestinationUrl

func (m *CreateLogoutURLRequest) GetDestinationUrl() string

func (*CreateLogoutURLRequest) ProtoMessage

func (*CreateLogoutURLRequest) ProtoMessage()

func (*CreateLogoutURLRequest) Reset

func (m *CreateLogoutURLRequest) Reset()

func (*CreateLogoutURLRequest) String

func (m *CreateLogoutURLRequest) String() string

func (*CreateLogoutURLRequest) XXX_DiscardUnknown

func (m *CreateLogoutURLRequest) XXX_DiscardUnknown()

func (*CreateLogoutURLRequest) XXX_Marshal

func (m *CreateLogoutURLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateLogoutURLRequest) XXX_Merge

func (dst *CreateLogoutURLRequest) XXX_Merge(src proto.Message)

func (*CreateLogoutURLRequest) XXX_Size

func (m *CreateLogoutURLRequest) XXX_Size() int

func (*CreateLogoutURLRequest) XXX_Unmarshal

func (m *CreateLogoutURLRequest) XXX_Unmarshal(b []byte) error

type CreateLogoutURLResponse

type CreateLogoutURLResponse struct {
	LogoutUrl            *string  `protobuf:"bytes,1,req,name=logout_url,json=logoutUrl" json:"logout_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateLogoutURLResponse) Descriptor

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

func (*CreateLogoutURLResponse) GetLogoutUrl

func (m *CreateLogoutURLResponse) GetLogoutUrl() string

func (*CreateLogoutURLResponse) ProtoMessage

func (*CreateLogoutURLResponse) ProtoMessage()

func (*CreateLogoutURLResponse) Reset

func (m *CreateLogoutURLResponse) Reset()

func (*CreateLogoutURLResponse) String

func (m *CreateLogoutURLResponse) String() string

func (*CreateLogoutURLResponse) XXX_DiscardUnknown

func (m *CreateLogoutURLResponse) XXX_DiscardUnknown()

func (*CreateLogoutURLResponse) XXX_Marshal

func (m *CreateLogoutURLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateLogoutURLResponse) XXX_Merge

func (dst *CreateLogoutURLResponse) XXX_Merge(src proto.Message)

func (*CreateLogoutURLResponse) XXX_Size

func (m *CreateLogoutURLResponse) XXX_Size() int

func (*CreateLogoutURLResponse) XXX_Unmarshal

func (m *CreateLogoutURLResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetOAuthUserRequest) Descriptor

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

func (*GetOAuthUserRequest) GetScope

func (m *GetOAuthUserRequest) GetScope() string

func (*GetOAuthUserRequest) GetScopes

func (m *GetOAuthUserRequest) GetScopes() []string

func (*GetOAuthUserRequest) ProtoMessage

func (*GetOAuthUserRequest) ProtoMessage()

func (*GetOAuthUserRequest) Reset

func (m *GetOAuthUserRequest) Reset()

func (*GetOAuthUserRequest) String

func (m *GetOAuthUserRequest) String() string

func (*GetOAuthUserRequest) XXX_DiscardUnknown

func (m *GetOAuthUserRequest) XXX_DiscardUnknown()

func (*GetOAuthUserRequest) XXX_Marshal

func (m *GetOAuthUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetOAuthUserRequest) XXX_Merge

func (dst *GetOAuthUserRequest) XXX_Merge(src proto.Message)

func (*GetOAuthUserRequest) XXX_Size

func (m *GetOAuthUserRequest) XXX_Size() int

func (*GetOAuthUserRequest) XXX_Unmarshal

func (m *GetOAuthUserRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetOAuthUserResponse) Descriptor

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

func (*GetOAuthUserResponse) GetAuthDomain

func (m *GetOAuthUserResponse) GetAuthDomain() string

func (*GetOAuthUserResponse) GetClientId

func (m *GetOAuthUserResponse) GetClientId() string

func (*GetOAuthUserResponse) GetEmail

func (m *GetOAuthUserResponse) GetEmail() string

func (*GetOAuthUserResponse) GetIsAdmin

func (m *GetOAuthUserResponse) GetIsAdmin() bool

func (*GetOAuthUserResponse) GetScopes

func (m *GetOAuthUserResponse) GetScopes() []string

func (*GetOAuthUserResponse) GetUserId

func (m *GetOAuthUserResponse) GetUserId() string

func (*GetOAuthUserResponse) GetUserOrganization

func (m *GetOAuthUserResponse) GetUserOrganization() string

func (*GetOAuthUserResponse) ProtoMessage

func (*GetOAuthUserResponse) ProtoMessage()

func (*GetOAuthUserResponse) Reset

func (m *GetOAuthUserResponse) Reset()

func (*GetOAuthUserResponse) String

func (m *GetOAuthUserResponse) String() string

func (*GetOAuthUserResponse) XXX_DiscardUnknown

func (m *GetOAuthUserResponse) XXX_DiscardUnknown()

func (*GetOAuthUserResponse) XXX_Marshal

func (m *GetOAuthUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetOAuthUserResponse) XXX_Merge

func (dst *GetOAuthUserResponse) XXX_Merge(src proto.Message)

func (*GetOAuthUserResponse) XXX_Size

func (m *GetOAuthUserResponse) XXX_Size() int

func (*GetOAuthUserResponse) XXX_Unmarshal

func (m *GetOAuthUserResponse) XXX_Unmarshal(b []byte) error

type UserServiceError

type UserServiceError struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserServiceError) Descriptor

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

func (*UserServiceError) ProtoMessage

func (*UserServiceError) ProtoMessage()

func (*UserServiceError) Reset

func (m *UserServiceError) Reset()

func (*UserServiceError) String

func (m *UserServiceError) String() string

func (*UserServiceError) XXX_DiscardUnknown

func (m *UserServiceError) XXX_DiscardUnknown()

func (*UserServiceError) XXX_Marshal

func (m *UserServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserServiceError) XXX_Merge

func (dst *UserServiceError) XXX_Merge(src proto.Message)

func (*UserServiceError) XXX_Size

func (m *UserServiceError) XXX_Size() int

func (*UserServiceError) XXX_Unmarshal

func (m *UserServiceError) XXX_Unmarshal(b []byte) error

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) Enum

func (UserServiceError_ErrorCode) EnumDescriptor

func (UserServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)

func (UserServiceError_ErrorCode) String

func (*UserServiceError_ErrorCode) UnmarshalJSON

func (x *UserServiceError_ErrorCode) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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