user

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package user is a generated protocol buffer package.

It is generated from these files:

google.golang.org/appengine/internal/user/user_service.proto

It has these top-level messages:

UserServiceError
CreateLoginURLRequest
CreateLoginURLResponse
CreateLogoutURLRequest
CreateLogoutURLResponse
GetOAuthUserRequest
GetOAuthUserResponse
CheckOAuthSignatureRequest
CheckOAuthSignatureResponse

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_unrecognized []byte `json:"-"`
}

func (*CheckOAuthSignatureRequest) Descriptor added in v1.1.0

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

type CheckOAuthSignatureResponse

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

func (*CheckOAuthSignatureResponse) Descriptor added in v1.1.0

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

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_unrecognized  []byte  `json:"-"`
}

func (*CreateLoginURLRequest) Descriptor added in v1.1.0

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

type CreateLoginURLResponse

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

func (*CreateLoginURLResponse) Descriptor added in v1.1.0

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

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_unrecognized []byte  `json:"-"`
}

func (*CreateLogoutURLRequest) Descriptor added in v1.1.0

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

type CreateLogoutURLResponse

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

func (*CreateLogoutURLResponse) Descriptor added in v1.1.0

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

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_unrecognized []byte   `json:"-"`
}

func (*GetOAuthUserRequest) Descriptor added in v1.1.0

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

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_unrecognized []byte   `json:"-"`
}

func (*GetOAuthUserResponse) Descriptor added in v1.1.0

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

type UserServiceError

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

func (*UserServiceError) Descriptor added in v1.1.0

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

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 added in v1.1.0

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