user

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2015 License: Apache-2.0, Apache-2.0 Imports: 2 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) 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:"oauth_consumer_key,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

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:"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,def=" json:"federated_identity,omitempty"`
	XXX_unrecognized  []byte  `json:"-"`
}

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:"login_url,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

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:"destination_url,omitempty"`
	AuthDomain       *string `protobuf:"bytes,2,opt,name=auth_domain" json:"auth_domain,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

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:"logout_url,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

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) 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:"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,def=" json:"user_organization,omitempty"`
	IsAdmin          *bool    `protobuf:"varint,5,opt,name=is_admin,def=0" json:"is_admin,omitempty"`
	ClientId         *string  `protobuf:"bytes,6,opt,name=client_id,def=" json:"client_id,omitempty"`
	Scopes           []string `protobuf:"bytes,7,rep,name=scopes" json:"scopes,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

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