Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCognitoHttpHandlers(router *mux.Router, prefix string, cli CognitoClient)
- func RegisterCognitoServer(s grpc.ServiceRegistrar, srv CognitoServer)
- type AccessKey
- func (*AccessKey) Descriptor() ([]byte, []int)deprecated
- func (x *AccessKey) GetCreatedAt() *timestamppb.Timestamp
- func (x *AccessKey) GetExpiresAt() *timestamppb.Timestamp
- func (x *AccessKey) GetId() string
- func (x *AccessKey) GetName() string
- func (x *AccessKey) GetScope() string
- func (*AccessKey) ProtoMessage()
- func (x *AccessKey) ProtoReflect() protoreflect.Message
- func (x *AccessKey) Reset()
- func (x *AccessKey) String() string
- type CognitoClient
- type CognitoInterceptor
- func (i *CognitoInterceptor) CompleteRecovery(ctx context.Context, in *CompleteRecoverInput, opts ...grpc.CallOption) (*CompleteRecoverOutput, error)
- func (i *CognitoInterceptor) CreateAccessKey(ctx context.Context, in *CreateAccessKeyInput, opts ...grpc.CallOption) (*CreateAccessKeyOutput, error)
- func (i *CognitoInterceptor) CreateToken(ctx context.Context, in *CreateTokenInput, opts ...grpc.CallOption) (*CreateTokenOutput, error)
- func (i *CognitoInterceptor) CreateUser(ctx context.Context, in *CreateUserInput, opts ...grpc.CallOption) (*CreateUserOutput, error)
- func (i *CognitoInterceptor) DeleteAccessKey(ctx context.Context, in *DeleteAccessKeyInput, opts ...grpc.CallOption) (*DeleteAccessKeyOutput, error)
- func (i *CognitoInterceptor) DescribeUser(ctx context.Context, in *DescribeUserInput, opts ...grpc.CallOption) (*DescribeUserOutput, error)
- func (i *CognitoInterceptor) IntrospectQuota(ctx context.Context, in *IntrospectQuotaInput, opts ...grpc.CallOption) (*IntrospectQuotaOutput, error)
- func (i *CognitoInterceptor) IntrospectRoles(ctx context.Context, in *IntrospectRolesInput, opts ...grpc.CallOption) (*IntrospectRolesOutput, error)
- func (i *CognitoInterceptor) IntrospectToken(ctx context.Context, in *IntrospectTokenInput, opts ...grpc.CallOption) (*IntrospectTokenOutput, error)
- func (i *CognitoInterceptor) IntrospectUser(ctx context.Context, in *IntrospectUserInput, opts ...grpc.CallOption) (*IntrospectUserOutput, error)
- func (i *CognitoInterceptor) ListAccessKeys(ctx context.Context, in *ListAccessKeysInput, opts ...grpc.CallOption) (*ListAccessKeysOutput, error)
- func (i *CognitoInterceptor) ListRoles(ctx context.Context, in *ListRolesInput, opts ...grpc.CallOption) (*ListRolesOutput, error)
- func (i *CognitoInterceptor) ListUsers(ctx context.Context, in *ListUsersInput, opts ...grpc.CallOption) (*ListUsersOutput, error)
- func (i *CognitoInterceptor) ResendEmailVerification(ctx context.Context, in *ResendEmailVerificationInput, opts ...grpc.CallOption) (*ResendEmailVerificationOutput, error)
- func (i *CognitoInterceptor) RevokeToken(ctx context.Context, in *RevokeTokenInput, opts ...grpc.CallOption) (*RevokeTokenOutput, error)
- func (i *CognitoInterceptor) SelfDestruct(ctx context.Context, in *SelfDestructInput, opts ...grpc.CallOption) (*SelfDestructOutput, error)
- func (i *CognitoInterceptor) Signout(ctx context.Context, in *SignoutInput, opts ...grpc.CallOption) (*SignoutOutput, error)
- func (i *CognitoInterceptor) StartRecovery(ctx context.Context, in *StartRecoveryInput, opts ...grpc.CallOption) (*StartRecoveryOutput, error)
- func (i *CognitoInterceptor) UpdateEmail(ctx context.Context, in *UpdateEmailInput, opts ...grpc.CallOption) (*UpdateEmailOutput, error)
- func (i *CognitoInterceptor) UpdatePassword(ctx context.Context, in *UpdatePasswordInput, opts ...grpc.CallOption) (*UpdatePasswordOutput, error)
- func (i *CognitoInterceptor) UpdatePicture(ctx context.Context, in *UpdatePictureInput, opts ...grpc.CallOption) (*UpdatePictureOutput, error)
- func (i *CognitoInterceptor) UpdateProfile(ctx context.Context, in *UpdateProfileInput, opts ...grpc.CallOption) (*UpdateProfileOutput, error)
- func (i *CognitoInterceptor) UpdateRoles(ctx context.Context, in *UpdateRolesInput, opts ...grpc.CallOption) (*UpdateRolesOutput, error)
- func (i *CognitoInterceptor) VerifyEmail(ctx context.Context, in *VerifyEmailInput, opts ...grpc.CallOption) (*VerifyEmailOutput, error)
- type CognitoServer
- type CognitoService
- func (s *CognitoService) CompleteRecovery(ctx context.Context, in *CompleteRecoverInput) (*CompleteRecoverOutput, error)
- func (s *CognitoService) CreateAccessKey(ctx context.Context, in *CreateAccessKeyInput) (*CreateAccessKeyOutput, error)
- func (s *CognitoService) CreateUser(ctx context.Context, in *CreateUserInput) (*CreateUserOutput, error)
- func (s *CognitoService) DeleteAccessKey(ctx context.Context, in *DeleteAccessKeyInput) (*DeleteAccessKeyOutput, error)
- func (s *CognitoService) DescribeUser(ctx context.Context, in *DescribeUserInput) (*DescribeUserOutput, error)
- func (s *CognitoService) IntrospectQuota(ctx context.Context, in *IntrospectQuotaInput) (*IntrospectQuotaOutput, error)
- func (s *CognitoService) IntrospectRoles(ctx context.Context, in *IntrospectRolesInput) (*IntrospectRolesOutput, error)
- func (s *CognitoService) IntrospectUser(ctx context.Context, in *IntrospectUserInput) (*IntrospectUserOutput, error)
- func (s *CognitoService) ListAccessKeys(ctx context.Context, in *ListAccessKeysInput) (*ListAccessKeysOutput, error)
- func (s *CognitoService) ListRoles(ctx context.Context, in *ListRolesInput) (*ListRolesOutput, error)
- func (s *CognitoService) ListUsers(ctx context.Context, in *ListUsersInput) (*ListUsersOutput, error)
- func (s *CognitoService) ResendEmailVerification(ctx context.Context, in *ResendEmailVerificationInput) (*ResendEmailVerificationOutput, error)
- func (s *CognitoService) SelfDestruct(ctx context.Context, in *SelfDestructInput) (*SelfDestructOutput, error)
- func (s *CognitoService) Signout(ctx context.Context, in *SignoutInput) (*SignoutOutput, error)
- func (s *CognitoService) StartRecovery(ctx context.Context, in *StartRecoveryInput) (*StartRecoveryOutput, error)
- func (s *CognitoService) UpdateEmail(ctx context.Context, in *UpdateEmailInput) (*UpdateEmailOutput, error)
- func (s *CognitoService) UpdatePassword(ctx context.Context, in *UpdatePasswordInput) (*UpdatePasswordOutput, error)
- func (s *CognitoService) UpdatePicture(ctx context.Context, in *UpdatePictureInput) (*UpdatePictureOutput, error)
- func (s *CognitoService) UpdateProfile(ctx context.Context, in *UpdateProfileInput) (*UpdateProfileOutput, error)
- func (s *CognitoService) UpdateRoles(ctx context.Context, in *UpdateRolesInput) (*UpdateRolesOutput, error)
- func (s *CognitoService) VerifyEmail(ctx context.Context, in *VerifyEmailInput) (*VerifyEmailOutput, error)
- type CompleteRecoverInput
- func (*CompleteRecoverInput) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteRecoverInput) GetPassword() string
- func (x *CompleteRecoverInput) GetSecret() string
- func (x *CompleteRecoverInput) GetUserId() string
- func (*CompleteRecoverInput) ProtoMessage()
- func (x *CompleteRecoverInput) ProtoReflect() protoreflect.Message
- func (x *CompleteRecoverInput) Reset()
- func (x *CompleteRecoverInput) String() string
- type CompleteRecoverOutput
- type CreateAccessKeyInput
- func (*CreateAccessKeyInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessKeyInput) GetExpiresIn() uint32
- func (x *CreateAccessKeyInput) GetName() string
- func (x *CreateAccessKeyInput) GetScope() string
- func (*CreateAccessKeyInput) ProtoMessage()
- func (x *CreateAccessKeyInput) ProtoReflect() protoreflect.Message
- func (x *CreateAccessKeyInput) Reset()
- func (x *CreateAccessKeyInput) String() string
- type CreateAccessKeyOutput
- func (*CreateAccessKeyOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessKeyOutput) GetKeyId() string
- func (x *CreateAccessKeyOutput) GetSecret() string
- func (*CreateAccessKeyOutput) ProtoMessage()
- func (x *CreateAccessKeyOutput) ProtoReflect() protoreflect.Message
- func (x *CreateAccessKeyOutput) Reset()
- func (x *CreateAccessKeyOutput) String() string
- type CreateAuthorizationInput
- func (*CreateAuthorizationInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAuthorizationInput) GetClientId() string
- func (x *CreateAuthorizationInput) GetCodeChallenge() string
- func (x *CreateAuthorizationInput) GetCodeChallengeMethod() string
- func (x *CreateAuthorizationInput) GetRedirectUri() string
- func (x *CreateAuthorizationInput) GetResponseType() string
- func (x *CreateAuthorizationInput) GetScope() string
- func (x *CreateAuthorizationInput) GetState() string
- func (*CreateAuthorizationInput) ProtoMessage()
- func (x *CreateAuthorizationInput) ProtoReflect() protoreflect.Message
- func (x *CreateAuthorizationInput) Reset()
- func (x *CreateAuthorizationInput) String() string
- type CreateAuthorizationOutput
- func (*CreateAuthorizationOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAuthorizationOutput) GetAuthorizationCode() string
- func (x *CreateAuthorizationOutput) GetRedirectUri() string
- func (*CreateAuthorizationOutput) ProtoMessage()
- func (x *CreateAuthorizationOutput) ProtoReflect() protoreflect.Message
- func (x *CreateAuthorizationOutput) Reset()
- func (x *CreateAuthorizationOutput) String() string
- type CreateTokenInput
- func (*CreateTokenInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTokenInput) GetClientId() string
- func (x *CreateTokenInput) GetClientSecret() string
- func (x *CreateTokenInput) GetCode() string
- func (x *CreateTokenInput) GetCodeVerifier() string
- func (x *CreateTokenInput) GetGrantType() CreateTokenInput_GrantType
- func (x *CreateTokenInput) GetPassword() string
- func (x *CreateTokenInput) GetRefreshToken() string
- func (x *CreateTokenInput) GetScope() string
- func (x *CreateTokenInput) GetUsername() string
- func (*CreateTokenInput) ProtoMessage()
- func (x *CreateTokenInput) ProtoReflect() protoreflect.Message
- func (x *CreateTokenInput) Reset()
- func (x *CreateTokenInput) String() string
- type CreateTokenInput_GrantType
- func (CreateTokenInput_GrantType) Descriptor() protoreflect.EnumDescriptor
- func (x CreateTokenInput_GrantType) Enum() *CreateTokenInput_GrantType
- func (CreateTokenInput_GrantType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateTokenInput_GrantType) Number() protoreflect.EnumNumber
- func (x CreateTokenInput_GrantType) String() string
- func (CreateTokenInput_GrantType) Type() protoreflect.EnumType
- type CreateTokenOutput
- func (*CreateTokenOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTokenOutput) GetExpiresAt() *timestamppb.Timestamp
- func (x *CreateTokenOutput) GetRefreshToken() string
- func (x *CreateTokenOutput) GetScopes() []string
- func (x *CreateTokenOutput) GetToken() string
- func (x *CreateTokenOutput) GetType() string
- func (x *CreateTokenOutput) GetUserId() string
- func (x *CreateTokenOutput) GetUsername() string
- func (*CreateTokenOutput) ProtoMessage()
- func (x *CreateTokenOutput) ProtoReflect() protoreflect.Message
- func (x *CreateTokenOutput) Reset()
- func (x *CreateTokenOutput) String() string
- type CreateUserInput
- func (*CreateUserInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserInput) GetBirthday() string
- func (x *CreateUserInput) GetCaptcha() string
- func (x *CreateUserInput) GetCountry() string
- func (x *CreateUserInput) GetEmail() string
- func (x *CreateUserInput) GetFullName() string
- func (x *CreateUserInput) GetLocale() string
- func (x *CreateUserInput) GetPassword() string
- func (x *CreateUserInput) GetUsername() string
- func (*CreateUserInput) ProtoMessage()
- func (x *CreateUserInput) ProtoReflect() protoreflect.Message
- func (x *CreateUserInput) Reset()
- func (x *CreateUserInput) String() string
- type CreateUserOutput
- func (*CreateUserOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserOutput) GetEmailConfirmationHint() string
- func (x *CreateUserOutput) GetUserId() string
- func (*CreateUserOutput) ProtoMessage()
- func (x *CreateUserOutput) ProtoReflect() protoreflect.Message
- func (x *CreateUserOutput) Reset()
- func (x *CreateUserOutput) String() string
- type DeleteAccessKeyInput
- func (*DeleteAccessKeyInput) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccessKeyInput) GetKeyId() string
- func (*DeleteAccessKeyInput) ProtoMessage()
- func (x *DeleteAccessKeyInput) ProtoReflect() protoreflect.Message
- func (x *DeleteAccessKeyInput) Reset()
- func (x *DeleteAccessKeyInput) String() string
- type DeleteAccessKeyOutput
- type DescribeUserInput
- type DescribeUserOutput
- type IntrospectQuotaInput
- type IntrospectQuotaOutput
- func (*IntrospectQuotaOutput) Descriptor() ([]byte, []int)deprecated
- func (x *IntrospectQuotaOutput) GetContestsPerUser() *Quota
- func (x *IntrospectQuotaOutput) GetParticipantsPerContest() *Quota
- func (x *IntrospectQuotaOutput) GetProblemsPerContest() *Quota
- func (x *IntrospectQuotaOutput) GetProblemsPerUser() *Quota
- func (*IntrospectQuotaOutput) ProtoMessage()
- func (x *IntrospectQuotaOutput) ProtoReflect() protoreflect.Message
- func (x *IntrospectQuotaOutput) Reset()
- func (x *IntrospectQuotaOutput) String() string
- type IntrospectRolesInput
- type IntrospectRolesOutput
- func (*IntrospectRolesOutput) Descriptor() ([]byte, []int)deprecated
- func (x *IntrospectRolesOutput) GetRoles() []string
- func (*IntrospectRolesOutput) ProtoMessage()
- func (x *IntrospectRolesOutput) ProtoReflect() protoreflect.Message
- func (x *IntrospectRolesOutput) Reset()
- func (x *IntrospectRolesOutput) String() string
- type IntrospectTokenInput
- func (*IntrospectTokenInput) Descriptor() ([]byte, []int)deprecated
- func (x *IntrospectTokenInput) GetToken() string
- func (*IntrospectTokenInput) ProtoMessage()
- func (x *IntrospectTokenInput) ProtoReflect() protoreflect.Message
- func (x *IntrospectTokenInput) Reset()
- func (x *IntrospectTokenInput) String() string
- type IntrospectTokenOutput
- func (*IntrospectTokenOutput) Descriptor() ([]byte, []int)deprecated
- func (x *IntrospectTokenOutput) GetActive() bool
- func (x *IntrospectTokenOutput) GetAudience() string
- func (x *IntrospectTokenOutput) GetEmail() string
- func (x *IntrospectTokenOutput) GetEmailVerified() bool
- func (x *IntrospectTokenOutput) GetExpire() *timestamppb.Timestamp
- func (x *IntrospectTokenOutput) GetIssuer() string
- func (x *IntrospectTokenOutput) GetLocale() string
- func (x *IntrospectTokenOutput) GetName() string
- func (x *IntrospectTokenOutput) GetNickname() string
- func (x *IntrospectTokenOutput) GetPicture() string
- func (x *IntrospectTokenOutput) GetScope() string
- func (x *IntrospectTokenOutput) GetSubject() string
- func (*IntrospectTokenOutput) ProtoMessage()
- func (x *IntrospectTokenOutput) ProtoReflect() protoreflect.Message
- func (x *IntrospectTokenOutput) Reset()
- func (x *IntrospectTokenOutput) String() string
- type IntrospectUserInput
- type IntrospectUserOutput
- func (*IntrospectUserOutput) Descriptor() ([]byte, []int)deprecated
- func (x *IntrospectUserOutput) GetUser() *User
- func (*IntrospectUserOutput) ProtoMessage()
- func (x *IntrospectUserOutput) ProtoReflect() protoreflect.Message
- func (x *IntrospectUserOutput) Reset()
- func (x *IntrospectUserOutput) String() string
- type ListAccessKeysInput
- func (*ListAccessKeysInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessKeysInput) GetOffset() int32
- func (x *ListAccessKeysInput) GetSize() int32
- func (*ListAccessKeysInput) ProtoMessage()
- func (x *ListAccessKeysInput) ProtoReflect() protoreflect.Message
- func (x *ListAccessKeysInput) Reset()
- func (x *ListAccessKeysInput) String() string
- type ListAccessKeysOutput
- func (*ListAccessKeysOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessKeysOutput) GetItems() []*AccessKey
- func (x *ListAccessKeysOutput) GetTotal() int32
- func (*ListAccessKeysOutput) ProtoMessage()
- func (x *ListAccessKeysOutput) ProtoReflect() protoreflect.Message
- func (x *ListAccessKeysOutput) Reset()
- func (x *ListAccessKeysOutput) String() string
- type ListRolesInput
- type ListRolesOutput
- type ListUsersInput
- func (*ListUsersInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersInput) GetFilters() *ListUsersInput_Filter
- func (x *ListUsersInput) GetOffset() int32
- func (x *ListUsersInput) GetSize() int32
- func (*ListUsersInput) ProtoMessage()
- func (x *ListUsersInput) ProtoReflect() protoreflect.Message
- func (x *ListUsersInput) Reset()
- func (x *ListUsersInput) String() string
- type ListUsersInput_Filter
- func (*ListUsersInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersInput_Filter) GetId() []*wellknown.ExpressionID
- func (x *ListUsersInput_Filter) GetUsername() []*wellknown.ExpressionString
- func (*ListUsersInput_Filter) ProtoMessage()
- func (x *ListUsersInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListUsersInput_Filter) Reset()
- func (x *ListUsersInput_Filter) String() string
- type ListUsersOutput
- func (*ListUsersOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersOutput) GetItems() []*User
- func (x *ListUsersOutput) GetTotal() int32
- func (*ListUsersOutput) ProtoMessage()
- func (x *ListUsersOutput) ProtoReflect() protoreflect.Message
- func (x *ListUsersOutput) Reset()
- func (x *ListUsersOutput) String() string
- type NotifyUserInput
- func (*NotifyUserInput) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyUserInput) GetParameters() map[string]string
- func (x *NotifyUserInput) GetTemplate() string
- func (x *NotifyUserInput) GetUserId() string
- func (*NotifyUserInput) ProtoMessage()
- func (x *NotifyUserInput) ProtoReflect() protoreflect.Message
- func (x *NotifyUserInput) Reset()
- func (x *NotifyUserInput) String() string
- type NotifyUserOutput
- type Quota
- type ResendEmailVerificationInput
- func (*ResendEmailVerificationInput) Descriptor() ([]byte, []int)deprecated
- func (*ResendEmailVerificationInput) ProtoMessage()
- func (x *ResendEmailVerificationInput) ProtoReflect() protoreflect.Message
- func (x *ResendEmailVerificationInput) Reset()
- func (x *ResendEmailVerificationInput) String() string
- type ResendEmailVerificationOutput
- func (*ResendEmailVerificationOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ResendEmailVerificationOutput) GetEmailConfirmationHint() string
- func (*ResendEmailVerificationOutput) ProtoMessage()
- func (x *ResendEmailVerificationOutput) ProtoReflect() protoreflect.Message
- func (x *ResendEmailVerificationOutput) Reset()
- func (x *ResendEmailVerificationOutput) String() string
- type RevokeTokenInput
- type RevokeTokenOutput
- type SelfDestructInput
- type SelfDestructOutput
- func (*SelfDestructOutput) Descriptor() ([]byte, []int)deprecated
- func (x *SelfDestructOutput) GetDeleteOn() *timestamppb.Timestamp
- func (*SelfDestructOutput) ProtoMessage()
- func (x *SelfDestructOutput) ProtoReflect() protoreflect.Message
- func (x *SelfDestructOutput) Reset()
- func (x *SelfDestructOutput) String() string
- type SigninInput
- func (*SigninInput) Descriptor() ([]byte, []int)deprecated
- func (x *SigninInput) GetPassword() string
- func (x *SigninInput) GetUsername() string
- func (*SigninInput) ProtoMessage()
- func (x *SigninInput) ProtoReflect() protoreflect.Message
- func (x *SigninInput) Reset()
- func (x *SigninInput) String() string
- type SigninOutput
- type SignoutInput
- type SignoutOutput
- type StartRecoveryInput
- func (*StartRecoveryInput) Descriptor() ([]byte, []int)deprecated
- func (x *StartRecoveryInput) GetCaptcha() string
- func (x *StartRecoveryInput) GetEmail() string
- func (x *StartRecoveryInput) GetLocale() string
- func (*StartRecoveryInput) ProtoMessage()
- func (x *StartRecoveryInput) ProtoReflect() protoreflect.Message
- func (x *StartRecoveryInput) Reset()
- func (x *StartRecoveryInput) String() string
- type StartRecoveryOutput
- func (*StartRecoveryOutput) Descriptor() ([]byte, []int)deprecated
- func (x *StartRecoveryOutput) GetEmailRecoveryHint() string
- func (*StartRecoveryOutput) ProtoMessage()
- func (x *StartRecoveryOutput) ProtoReflect() protoreflect.Message
- func (x *StartRecoveryOutput) Reset()
- func (x *StartRecoveryOutput) String() string
- type UnimplementedCognitoServer
- func (UnimplementedCognitoServer) CompleteRecovery(context.Context, *CompleteRecoverInput) (*CompleteRecoverOutput, error)
- func (UnimplementedCognitoServer) CreateAccessKey(context.Context, *CreateAccessKeyInput) (*CreateAccessKeyOutput, error)
- func (UnimplementedCognitoServer) CreateToken(context.Context, *CreateTokenInput) (*CreateTokenOutput, error)
- func (UnimplementedCognitoServer) CreateUser(context.Context, *CreateUserInput) (*CreateUserOutput, error)
- func (UnimplementedCognitoServer) DeleteAccessKey(context.Context, *DeleteAccessKeyInput) (*DeleteAccessKeyOutput, error)
- func (UnimplementedCognitoServer) DescribeUser(context.Context, *DescribeUserInput) (*DescribeUserOutput, error)
- func (UnimplementedCognitoServer) IntrospectQuota(context.Context, *IntrospectQuotaInput) (*IntrospectQuotaOutput, error)
- func (UnimplementedCognitoServer) IntrospectRoles(context.Context, *IntrospectRolesInput) (*IntrospectRolesOutput, error)
- func (UnimplementedCognitoServer) IntrospectToken(context.Context, *IntrospectTokenInput) (*IntrospectTokenOutput, error)
- func (UnimplementedCognitoServer) IntrospectUser(context.Context, *IntrospectUserInput) (*IntrospectUserOutput, error)
- func (UnimplementedCognitoServer) ListAccessKeys(context.Context, *ListAccessKeysInput) (*ListAccessKeysOutput, error)
- func (UnimplementedCognitoServer) ListRoles(context.Context, *ListRolesInput) (*ListRolesOutput, error)
- func (UnimplementedCognitoServer) ListUsers(context.Context, *ListUsersInput) (*ListUsersOutput, error)
- func (UnimplementedCognitoServer) ResendEmailVerification(context.Context, *ResendEmailVerificationInput) (*ResendEmailVerificationOutput, error)
- func (UnimplementedCognitoServer) RevokeToken(context.Context, *RevokeTokenInput) (*RevokeTokenOutput, error)
- func (UnimplementedCognitoServer) SelfDestruct(context.Context, *SelfDestructInput) (*SelfDestructOutput, error)
- func (UnimplementedCognitoServer) Signout(context.Context, *SignoutInput) (*SignoutOutput, error)
- func (UnimplementedCognitoServer) StartRecovery(context.Context, *StartRecoveryInput) (*StartRecoveryOutput, error)
- func (UnimplementedCognitoServer) UpdateEmail(context.Context, *UpdateEmailInput) (*UpdateEmailOutput, error)
- func (UnimplementedCognitoServer) UpdatePassword(context.Context, *UpdatePasswordInput) (*UpdatePasswordOutput, error)
- func (UnimplementedCognitoServer) UpdatePicture(context.Context, *UpdatePictureInput) (*UpdatePictureOutput, error)
- func (UnimplementedCognitoServer) UpdateProfile(context.Context, *UpdateProfileInput) (*UpdateProfileOutput, error)
- func (UnimplementedCognitoServer) UpdateRoles(context.Context, *UpdateRolesInput) (*UpdateRolesOutput, error)
- func (UnimplementedCognitoServer) VerifyEmail(context.Context, *VerifyEmailInput) (*VerifyEmailOutput, error)
- type UnsafeCognitoServer
- type UpdateEmailInput
- type UpdateEmailOutput
- func (*UpdateEmailOutput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEmailOutput) GetEmailConfirmationHint() string
- func (*UpdateEmailOutput) ProtoMessage()
- func (x *UpdateEmailOutput) ProtoReflect() protoreflect.Message
- func (x *UpdateEmailOutput) Reset()
- func (x *UpdateEmailOutput) String() string
- type UpdatePasswordInput
- func (*UpdatePasswordInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordInput) GetCurrentPassword() string
- func (x *UpdatePasswordInput) GetNewPassword() string
- func (*UpdatePasswordInput) ProtoMessage()
- func (x *UpdatePasswordInput) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordInput) Reset()
- func (x *UpdatePasswordInput) String() string
- type UpdatePasswordOutput
- type UpdatePictureInput
- func (*UpdatePictureInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePictureInput) GetData() []byte
- func (x *UpdatePictureInput) GetFilename() string
- func (x *UpdatePictureInput) GetOffsetX() uint32
- func (x *UpdatePictureInput) GetOffsetY() uint32
- func (x *UpdatePictureInput) GetSize() uint32
- func (*UpdatePictureInput) ProtoMessage()
- func (x *UpdatePictureInput) ProtoReflect() protoreflect.Message
- func (x *UpdatePictureInput) Reset()
- func (x *UpdatePictureInput) String() string
- type UpdatePictureOutput
- type UpdateProfileInput
- func (*UpdateProfileInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileInput) GetBirthday() string
- func (x *UpdateProfileInput) GetCity() string
- func (x *UpdateProfileInput) GetCompany() string
- func (x *UpdateProfileInput) GetCountry() string
- func (x *UpdateProfileInput) GetEmail() string
- func (x *UpdateProfileInput) GetLocale() string
- func (x *UpdateProfileInput) GetName() string
- func (x *UpdateProfileInput) GetOccupation() string
- func (x *UpdateProfileInput) GetPatch() []UpdateProfileInput_Patch
- func (x *UpdateProfileInput) GetUsername() string
- func (*UpdateProfileInput) ProtoMessage()
- func (x *UpdateProfileInput) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileInput) Reset()
- func (x *UpdateProfileInput) String() string
- type UpdateProfileInput_Patch
- func (UpdateProfileInput_Patch) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateProfileInput_Patch) Enum() *UpdateProfileInput_Patch
- func (UpdateProfileInput_Patch) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateProfileInput_Patch) Number() protoreflect.EnumNumber
- func (x UpdateProfileInput_Patch) String() string
- func (UpdateProfileInput_Patch) Type() protoreflect.EnumType
- type UpdateProfileOutput
- func (*UpdateProfileOutput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileOutput) GetEmailConfirmationHint() string
- func (*UpdateProfileOutput) ProtoMessage()
- func (x *UpdateProfileOutput) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileOutput) Reset()
- func (x *UpdateProfileOutput) String() string
- type UpdateRolesInput
- func (*UpdateRolesInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRolesInput) GetRoles() []string
- func (x *UpdateRolesInput) GetUserId() string
- func (*UpdateRolesInput) ProtoMessage()
- func (x *UpdateRolesInput) ProtoReflect() protoreflect.Message
- func (x *UpdateRolesInput) Reset()
- func (x *UpdateRolesInput) String() string
- type UpdateRolesOutput
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetActive() bool
- func (x *User) GetBirthday() string
- func (x *User) GetCity() string
- func (x *User) GetCompany() string
- func (x *User) GetCountry() string
- func (x *User) GetEmail() string
- func (x *User) GetEmailStatus() string
- func (x *User) GetId() string
- func (x *User) GetLastActivity() *timestamppb.Timestamp
- func (x *User) GetLocale() string
- func (x *User) GetName() string
- func (x *User) GetOccupation() string
- func (x *User) GetPasswordChangedOn() *timestamppb.Timestamp
- func (x *User) GetPicture() string
- func (x *User) GetRank() uint32
- func (x *User) GetRankTrend() User_RankTrend
- func (x *User) GetRegisteredOn() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (x *User) GetUsernameChangedOn() *timestamppb.Timestamp
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserChangedEvent
- func (*UserChangedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *UserChangedEvent) GetAfter() *User
- func (x *UserChangedEvent) GetBefore() *User
- func (*UserChangedEvent) ProtoMessage()
- func (x *UserChangedEvent) ProtoReflect() protoreflect.Message
- func (x *UserChangedEvent) Reset()
- func (x *UserChangedEvent) String() string
- type User_RankTrend
- func (User_RankTrend) Descriptor() protoreflect.EnumDescriptor
- func (x User_RankTrend) Enum() *User_RankTrend
- func (User_RankTrend) EnumDescriptor() ([]byte, []int)deprecated
- func (x User_RankTrend) Number() protoreflect.EnumNumber
- func (x User_RankTrend) String() string
- func (User_RankTrend) Type() protoreflect.EnumType
- type VerifyEmailInput
- func (*VerifyEmailInput) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyEmailInput) GetSecret() string
- func (x *VerifyEmailInput) GetUserId() string
- func (*VerifyEmailInput) ProtoMessage()
- func (x *VerifyEmailInput) ProtoReflect() protoreflect.Message
- func (x *VerifyEmailInput) Reset()
- func (x *VerifyEmailInput) String() string
- type VerifyEmailOutput
Constants ¶
const ( Cognito_CreateToken_FullMethodName = "/eolymp.cognito.Cognito/CreateToken" Cognito_IntrospectToken_FullMethodName = "/eolymp.cognito.Cognito/IntrospectToken" Cognito_RevokeToken_FullMethodName = "/eolymp.cognito.Cognito/RevokeToken" Cognito_Signout_FullMethodName = "/eolymp.cognito.Cognito/Signout" Cognito_CreateAccessKey_FullMethodName = "/eolymp.cognito.Cognito/CreateAccessKey" Cognito_DeleteAccessKey_FullMethodName = "/eolymp.cognito.Cognito/DeleteAccessKey" Cognito_ListAccessKeys_FullMethodName = "/eolymp.cognito.Cognito/ListAccessKeys" Cognito_CreateUser_FullMethodName = "/eolymp.cognito.Cognito/CreateUser" Cognito_VerifyEmail_FullMethodName = "/eolymp.cognito.Cognito/VerifyEmail" Cognito_ResendEmailVerification_FullMethodName = "/eolymp.cognito.Cognito/ResendEmailVerification" Cognito_UpdateEmail_FullMethodName = "/eolymp.cognito.Cognito/UpdateEmail" Cognito_UpdateProfile_FullMethodName = "/eolymp.cognito.Cognito/UpdateProfile" Cognito_UpdatePicture_FullMethodName = "/eolymp.cognito.Cognito/UpdatePicture" Cognito_UpdatePassword_FullMethodName = "/eolymp.cognito.Cognito/UpdatePassword" Cognito_IntrospectUser_FullMethodName = "/eolymp.cognito.Cognito/IntrospectUser" Cognito_DescribeUser_FullMethodName = "/eolymp.cognito.Cognito/DescribeUser" Cognito_ListUsers_FullMethodName = "/eolymp.cognito.Cognito/ListUsers" Cognito_IntrospectQuota_FullMethodName = "/eolymp.cognito.Cognito/IntrospectQuota" Cognito_IntrospectRoles_FullMethodName = "/eolymp.cognito.Cognito/IntrospectRoles" Cognito_ListRoles_FullMethodName = "/eolymp.cognito.Cognito/ListRoles" Cognito_UpdateRoles_FullMethodName = "/eolymp.cognito.Cognito/UpdateRoles" Cognito_StartRecovery_FullMethodName = "/eolymp.cognito.Cognito/StartRecovery" Cognito_CompleteRecovery_FullMethodName = "/eolymp.cognito.Cognito/CompleteRecovery" Cognito_SelfDestruct_FullMethodName = "/eolymp.cognito.Cognito/SelfDestruct" )
Variables ¶
var ( CreateTokenInput_GrantType_name = map[int32]string{ 0: "NONE", 1: "PASSWORD", 2: "AUTHORIZATION_CODE", 3: "REFRESH_TOKEN", 4: "GOOGLE_CODE", } CreateTokenInput_GrantType_value = map[string]int32{ "NONE": 0, "PASSWORD": 1, "AUTHORIZATION_CODE": 2, "REFRESH_TOKEN": 3, "GOOGLE_CODE": 4, } )
Enum value maps for CreateTokenInput_GrantType.
var ( UpdateProfileInput_Patch_name = map[int32]string{ 0: "USERNAME", 1: "EMAIL", 2: "NAME", 3: "COMPANY", 4: "OCCUPATION", 5: "COUNTRY", 6: "CITY", 7: "BIRTHDAY", 8: "LOCALE", } UpdateProfileInput_Patch_value = map[string]int32{ "USERNAME": 0, "EMAIL": 1, "NAME": 2, "COMPANY": 3, "OCCUPATION": 4, "COUNTRY": 5, "CITY": 6, "BIRTHDAY": 7, "LOCALE": 8, } )
Enum value maps for UpdateProfileInput_Patch.
var ( User_RankTrend_name = map[int32]string{ 0: "NONE", 1: "UP", 2: "DOWN", } User_RankTrend_value = map[string]int32{ "NONE": 0, "UP": 1, "DOWN": 2, } )
Enum value maps for User_RankTrend.
var Cognito_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.cognito.Cognito", HandlerType: (*CognitoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateToken", Handler: _Cognito_CreateToken_Handler, }, { MethodName: "IntrospectToken", Handler: _Cognito_IntrospectToken_Handler, }, { MethodName: "RevokeToken", Handler: _Cognito_RevokeToken_Handler, }, { MethodName: "Signout", Handler: _Cognito_Signout_Handler, }, { MethodName: "CreateAccessKey", Handler: _Cognito_CreateAccessKey_Handler, }, { MethodName: "DeleteAccessKey", Handler: _Cognito_DeleteAccessKey_Handler, }, { MethodName: "ListAccessKeys", Handler: _Cognito_ListAccessKeys_Handler, }, { MethodName: "CreateUser", Handler: _Cognito_CreateUser_Handler, }, { MethodName: "VerifyEmail", Handler: _Cognito_VerifyEmail_Handler, }, { MethodName: "ResendEmailVerification", Handler: _Cognito_ResendEmailVerification_Handler, }, { MethodName: "UpdateEmail", Handler: _Cognito_UpdateEmail_Handler, }, { MethodName: "UpdateProfile", Handler: _Cognito_UpdateProfile_Handler, }, { MethodName: "UpdatePicture", Handler: _Cognito_UpdatePicture_Handler, }, { MethodName: "UpdatePassword", Handler: _Cognito_UpdatePassword_Handler, }, { MethodName: "IntrospectUser", Handler: _Cognito_IntrospectUser_Handler, }, { MethodName: "DescribeUser", Handler: _Cognito_DescribeUser_Handler, }, { MethodName: "ListUsers", Handler: _Cognito_ListUsers_Handler, }, { MethodName: "IntrospectQuota", Handler: _Cognito_IntrospectQuota_Handler, }, { MethodName: "IntrospectRoles", Handler: _Cognito_IntrospectRoles_Handler, }, { MethodName: "ListRoles", Handler: _Cognito_ListRoles_Handler, }, { MethodName: "UpdateRoles", Handler: _Cognito_UpdateRoles_Handler, }, { MethodName: "StartRecovery", Handler: _Cognito_StartRecovery_Handler, }, { MethodName: "CompleteRecovery", Handler: _Cognito_CompleteRecovery_Handler, }, { MethodName: "SelfDestruct", Handler: _Cognito_SelfDestruct_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/cognito/cognito.proto", }
Cognito_ServiceDesc is the grpc.ServiceDesc for Cognito service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_eolymp_cognito_access_key_proto protoreflect.FileDescriptor
var File_eolymp_cognito_cognito_proto protoreflect.FileDescriptor
var File_eolymp_cognito_events_proto protoreflect.FileDescriptor
var File_eolymp_cognito_quota_proto protoreflect.FileDescriptor
var File_eolymp_cognito_user_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCognitoHttpHandlers ¶
func RegisterCognitoHttpHandlers(router *mux.Router, prefix string, cli CognitoClient)
RegisterCognitoHttpHandlers adds handlers for for CognitoClient This constructor creates http.Handler, the actual implementation might change at any moment
func RegisterCognitoServer ¶
func RegisterCognitoServer(s grpc.ServiceRegistrar, srv CognitoServer)
Types ¶
type AccessKey ¶
type AccessKey struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*AccessKey) Descriptor
deprecated
func (*AccessKey) GetCreatedAt ¶
func (x *AccessKey) GetCreatedAt() *timestamppb.Timestamp
func (*AccessKey) GetExpiresAt ¶
func (x *AccessKey) GetExpiresAt() *timestamppb.Timestamp
func (*AccessKey) ProtoMessage ¶
func (*AccessKey) ProtoMessage()
func (*AccessKey) ProtoReflect ¶
func (x *AccessKey) ProtoReflect() protoreflect.Message
type CognitoClient ¶
type CognitoClient interface { // Create oauth access token. // DEPRECATED: use oauth service directly CreateToken(ctx context.Context, in *CreateTokenInput, opts ...grpc.CallOption) (*CreateTokenOutput, error) // Introspect oauth token, returns access token details for a given token. // DEPRECATED: use oauth service directly IntrospectToken(ctx context.Context, in *IntrospectTokenInput, opts ...grpc.CallOption) (*IntrospectTokenOutput, error) // Revoke token disables given token and related tokens. // DEPRECATED: use oauth service directly RevokeToken(ctx context.Context, in *RevokeTokenInput, opts ...grpc.CallOption) (*RevokeTokenOutput, error) // Signout revokes all user's tokens or all tokens of current session. // DEPRECATED: use oauth service directly Signout(ctx context.Context, in *SignoutInput, opts ...grpc.CallOption) (*SignoutOutput, error) // Create API key. CreateAccessKey(ctx context.Context, in *CreateAccessKeyInput, opts ...grpc.CallOption) (*CreateAccessKeyOutput, error) // Delete API key. DeleteAccessKey(ctx context.Context, in *DeleteAccessKeyInput, opts ...grpc.CallOption) (*DeleteAccessKeyOutput, error) ListAccessKeys(ctx context.Context, in *ListAccessKeysInput, opts ...grpc.CallOption) (*ListAccessKeysOutput, error) // Create user account. CreateUser(ctx context.Context, in *CreateUserInput, opts ...grpc.CallOption) (*CreateUserOutput, error) // Verify user email, takes email verification token and if it's correct - changes email status to CONFIRMED. VerifyEmail(ctx context.Context, in *VerifyEmailInput, opts ...grpc.CallOption) (*VerifyEmailOutput, error) ResendEmailVerification(ctx context.Context, in *ResendEmailVerificationInput, opts ...grpc.CallOption) (*ResendEmailVerificationOutput, error) // Update user email, changes user's current email and starts email verification process. // DEPRECATED: use UpdateProfile instead UpdateEmail(ctx context.Context, in *UpdateEmailInput, opts ...grpc.CallOption) (*UpdateEmailOutput, error) UpdateProfile(ctx context.Context, in *UpdateProfileInput, opts ...grpc.CallOption) (*UpdateProfileOutput, error) UpdatePicture(ctx context.Context, in *UpdatePictureInput, opts ...grpc.CallOption) (*UpdatePictureOutput, error) UpdatePassword(ctx context.Context, in *UpdatePasswordInput, opts ...grpc.CallOption) (*UpdatePasswordOutput, error) // Introspect user, returns user profile for authenticated user. IntrospectUser(ctx context.Context, in *IntrospectUserInput, opts ...grpc.CallOption) (*IntrospectUserOutput, error) // Describe user by ID. DescribeUser(ctx context.Context, in *DescribeUserInput, opts ...grpc.CallOption) (*DescribeUserOutput, error) // List users. ListUsers(ctx context.Context, in *ListUsersInput, opts ...grpc.CallOption) (*ListUsersOutput, error) // Describe user's quota. IntrospectQuota(ctx context.Context, in *IntrospectQuotaInput, opts ...grpc.CallOption) (*IntrospectQuotaOutput, error) // List own roles. IntrospectRoles(ctx context.Context, in *IntrospectRolesInput, opts ...grpc.CallOption) (*IntrospectRolesOutput, error) // List roles assigned to a user. ListRoles(ctx context.Context, in *ListRolesInput, opts ...grpc.CallOption) (*ListRolesOutput, error) // Update user's roles. UpdateRoles(ctx context.Context, in *UpdateRolesInput, opts ...grpc.CallOption) (*UpdateRolesOutput, error) // Start access recovery procedure, this method will send recovery token to the user's email. // This method will return OK even if email does not exist. StartRecovery(ctx context.Context, in *StartRecoveryInput, opts ...grpc.CallOption) (*StartRecoveryOutput, error) // Finish recovery procedure by setting new password, this method requires token sent by email using `StartRecovery` // method CompleteRecovery(ctx context.Context, in *CompleteRecoverInput, opts ...grpc.CallOption) (*CompleteRecoverOutput, error) SelfDestruct(ctx context.Context, in *SelfDestructInput, opts ...grpc.CallOption) (*SelfDestructOutput, error) }
CognitoClient is the client API for Cognito service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCognitoClient ¶
func NewCognitoClient(cc grpc.ClientConnInterface) CognitoClient
type CognitoInterceptor ¶
type CognitoInterceptor struct {
// contains filtered or unexported fields
}
func NewCognitoInterceptor ¶
func NewCognitoInterceptor(cli CognitoClient, middleware ..._CognitoMiddleware) *CognitoInterceptor
NewCognitoInterceptor constructs additional middleware for a server based on annotations in proto files
func (*CognitoInterceptor) CompleteRecovery ¶
func (i *CognitoInterceptor) CompleteRecovery(ctx context.Context, in *CompleteRecoverInput, opts ...grpc.CallOption) (*CompleteRecoverOutput, error)
func (*CognitoInterceptor) CreateAccessKey ¶
func (i *CognitoInterceptor) CreateAccessKey(ctx context.Context, in *CreateAccessKeyInput, opts ...grpc.CallOption) (*CreateAccessKeyOutput, error)
func (*CognitoInterceptor) CreateToken ¶
func (i *CognitoInterceptor) CreateToken(ctx context.Context, in *CreateTokenInput, opts ...grpc.CallOption) (*CreateTokenOutput, error)
func (*CognitoInterceptor) CreateUser ¶
func (i *CognitoInterceptor) CreateUser(ctx context.Context, in *CreateUserInput, opts ...grpc.CallOption) (*CreateUserOutput, error)
func (*CognitoInterceptor) DeleteAccessKey ¶
func (i *CognitoInterceptor) DeleteAccessKey(ctx context.Context, in *DeleteAccessKeyInput, opts ...grpc.CallOption) (*DeleteAccessKeyOutput, error)
func (*CognitoInterceptor) DescribeUser ¶
func (i *CognitoInterceptor) DescribeUser(ctx context.Context, in *DescribeUserInput, opts ...grpc.CallOption) (*DescribeUserOutput, error)
func (*CognitoInterceptor) IntrospectQuota ¶
func (i *CognitoInterceptor) IntrospectQuota(ctx context.Context, in *IntrospectQuotaInput, opts ...grpc.CallOption) (*IntrospectQuotaOutput, error)
func (*CognitoInterceptor) IntrospectRoles ¶
func (i *CognitoInterceptor) IntrospectRoles(ctx context.Context, in *IntrospectRolesInput, opts ...grpc.CallOption) (*IntrospectRolesOutput, error)
func (*CognitoInterceptor) IntrospectToken ¶
func (i *CognitoInterceptor) IntrospectToken(ctx context.Context, in *IntrospectTokenInput, opts ...grpc.CallOption) (*IntrospectTokenOutput, error)
func (*CognitoInterceptor) IntrospectUser ¶
func (i *CognitoInterceptor) IntrospectUser(ctx context.Context, in *IntrospectUserInput, opts ...grpc.CallOption) (*IntrospectUserOutput, error)
func (*CognitoInterceptor) ListAccessKeys ¶
func (i *CognitoInterceptor) ListAccessKeys(ctx context.Context, in *ListAccessKeysInput, opts ...grpc.CallOption) (*ListAccessKeysOutput, error)
func (*CognitoInterceptor) ListRoles ¶
func (i *CognitoInterceptor) ListRoles(ctx context.Context, in *ListRolesInput, opts ...grpc.CallOption) (*ListRolesOutput, error)
func (*CognitoInterceptor) ListUsers ¶
func (i *CognitoInterceptor) ListUsers(ctx context.Context, in *ListUsersInput, opts ...grpc.CallOption) (*ListUsersOutput, error)
func (*CognitoInterceptor) ResendEmailVerification ¶
func (i *CognitoInterceptor) ResendEmailVerification(ctx context.Context, in *ResendEmailVerificationInput, opts ...grpc.CallOption) (*ResendEmailVerificationOutput, error)
func (*CognitoInterceptor) RevokeToken ¶
func (i *CognitoInterceptor) RevokeToken(ctx context.Context, in *RevokeTokenInput, opts ...grpc.CallOption) (*RevokeTokenOutput, error)
func (*CognitoInterceptor) SelfDestruct ¶
func (i *CognitoInterceptor) SelfDestruct(ctx context.Context, in *SelfDestructInput, opts ...grpc.CallOption) (*SelfDestructOutput, error)
func (*CognitoInterceptor) Signout ¶
func (i *CognitoInterceptor) Signout(ctx context.Context, in *SignoutInput, opts ...grpc.CallOption) (*SignoutOutput, error)
func (*CognitoInterceptor) StartRecovery ¶
func (i *CognitoInterceptor) StartRecovery(ctx context.Context, in *StartRecoveryInput, opts ...grpc.CallOption) (*StartRecoveryOutput, error)
func (*CognitoInterceptor) UpdateEmail ¶
func (i *CognitoInterceptor) UpdateEmail(ctx context.Context, in *UpdateEmailInput, opts ...grpc.CallOption) (*UpdateEmailOutput, error)
func (*CognitoInterceptor) UpdatePassword ¶
func (i *CognitoInterceptor) UpdatePassword(ctx context.Context, in *UpdatePasswordInput, opts ...grpc.CallOption) (*UpdatePasswordOutput, error)
func (*CognitoInterceptor) UpdatePicture ¶
func (i *CognitoInterceptor) UpdatePicture(ctx context.Context, in *UpdatePictureInput, opts ...grpc.CallOption) (*UpdatePictureOutput, error)
func (*CognitoInterceptor) UpdateProfile ¶
func (i *CognitoInterceptor) UpdateProfile(ctx context.Context, in *UpdateProfileInput, opts ...grpc.CallOption) (*UpdateProfileOutput, error)
func (*CognitoInterceptor) UpdateRoles ¶
func (i *CognitoInterceptor) UpdateRoles(ctx context.Context, in *UpdateRolesInput, opts ...grpc.CallOption) (*UpdateRolesOutput, error)
func (*CognitoInterceptor) VerifyEmail ¶
func (i *CognitoInterceptor) VerifyEmail(ctx context.Context, in *VerifyEmailInput, opts ...grpc.CallOption) (*VerifyEmailOutput, error)
type CognitoServer ¶
type CognitoServer interface { // Create oauth access token. // DEPRECATED: use oauth service directly CreateToken(context.Context, *CreateTokenInput) (*CreateTokenOutput, error) // Introspect oauth token, returns access token details for a given token. // DEPRECATED: use oauth service directly IntrospectToken(context.Context, *IntrospectTokenInput) (*IntrospectTokenOutput, error) // Revoke token disables given token and related tokens. // DEPRECATED: use oauth service directly RevokeToken(context.Context, *RevokeTokenInput) (*RevokeTokenOutput, error) // Signout revokes all user's tokens or all tokens of current session. // DEPRECATED: use oauth service directly Signout(context.Context, *SignoutInput) (*SignoutOutput, error) // Create API key. CreateAccessKey(context.Context, *CreateAccessKeyInput) (*CreateAccessKeyOutput, error) // Delete API key. DeleteAccessKey(context.Context, *DeleteAccessKeyInput) (*DeleteAccessKeyOutput, error) ListAccessKeys(context.Context, *ListAccessKeysInput) (*ListAccessKeysOutput, error) // Create user account. CreateUser(context.Context, *CreateUserInput) (*CreateUserOutput, error) // Verify user email, takes email verification token and if it's correct - changes email status to CONFIRMED. VerifyEmail(context.Context, *VerifyEmailInput) (*VerifyEmailOutput, error) ResendEmailVerification(context.Context, *ResendEmailVerificationInput) (*ResendEmailVerificationOutput, error) // Update user email, changes user's current email and starts email verification process. // DEPRECATED: use UpdateProfile instead UpdateEmail(context.Context, *UpdateEmailInput) (*UpdateEmailOutput, error) UpdateProfile(context.Context, *UpdateProfileInput) (*UpdateProfileOutput, error) UpdatePicture(context.Context, *UpdatePictureInput) (*UpdatePictureOutput, error) UpdatePassword(context.Context, *UpdatePasswordInput) (*UpdatePasswordOutput, error) // Introspect user, returns user profile for authenticated user. IntrospectUser(context.Context, *IntrospectUserInput) (*IntrospectUserOutput, error) // Describe user by ID. DescribeUser(context.Context, *DescribeUserInput) (*DescribeUserOutput, error) // List users. ListUsers(context.Context, *ListUsersInput) (*ListUsersOutput, error) // Describe user's quota. IntrospectQuota(context.Context, *IntrospectQuotaInput) (*IntrospectQuotaOutput, error) // List own roles. IntrospectRoles(context.Context, *IntrospectRolesInput) (*IntrospectRolesOutput, error) // List roles assigned to a user. ListRoles(context.Context, *ListRolesInput) (*ListRolesOutput, error) // Update user's roles. UpdateRoles(context.Context, *UpdateRolesInput) (*UpdateRolesOutput, error) // Start access recovery procedure, this method will send recovery token to the user's email. // This method will return OK even if email does not exist. StartRecovery(context.Context, *StartRecoveryInput) (*StartRecoveryOutput, error) // Finish recovery procedure by setting new password, this method requires token sent by email using `StartRecovery` // method CompleteRecovery(context.Context, *CompleteRecoverInput) (*CompleteRecoverOutput, error) SelfDestruct(context.Context, *SelfDestructInput) (*SelfDestructOutput, error) }
CognitoServer is the server API for Cognito service. All implementations should embed UnimplementedCognitoServer for forward compatibility
type CognitoService ¶
type CognitoService struct {
// contains filtered or unexported fields
}
func NewCognitoHttpClient ¶
func NewCognitoHttpClient(url string, cli _CognitoHttpClient) *CognitoService
NewCognitoHttpClient constructs client for Cognito
func (*CognitoService) CompleteRecovery ¶
func (s *CognitoService) CompleteRecovery(ctx context.Context, in *CompleteRecoverInput) (*CompleteRecoverOutput, error)
func (*CognitoService) CreateAccessKey ¶
func (s *CognitoService) CreateAccessKey(ctx context.Context, in *CreateAccessKeyInput) (*CreateAccessKeyOutput, error)
func (*CognitoService) CreateUser ¶
func (s *CognitoService) CreateUser(ctx context.Context, in *CreateUserInput) (*CreateUserOutput, error)
func (*CognitoService) DeleteAccessKey ¶
func (s *CognitoService) DeleteAccessKey(ctx context.Context, in *DeleteAccessKeyInput) (*DeleteAccessKeyOutput, error)
func (*CognitoService) DescribeUser ¶
func (s *CognitoService) DescribeUser(ctx context.Context, in *DescribeUserInput) (*DescribeUserOutput, error)
func (*CognitoService) IntrospectQuota ¶
func (s *CognitoService) IntrospectQuota(ctx context.Context, in *IntrospectQuotaInput) (*IntrospectQuotaOutput, error)
func (*CognitoService) IntrospectRoles ¶
func (s *CognitoService) IntrospectRoles(ctx context.Context, in *IntrospectRolesInput) (*IntrospectRolesOutput, error)
func (*CognitoService) IntrospectUser ¶
func (s *CognitoService) IntrospectUser(ctx context.Context, in *IntrospectUserInput) (*IntrospectUserOutput, error)
func (*CognitoService) ListAccessKeys ¶
func (s *CognitoService) ListAccessKeys(ctx context.Context, in *ListAccessKeysInput) (*ListAccessKeysOutput, error)
func (*CognitoService) ListRoles ¶
func (s *CognitoService) ListRoles(ctx context.Context, in *ListRolesInput) (*ListRolesOutput, error)
func (*CognitoService) ListUsers ¶
func (s *CognitoService) ListUsers(ctx context.Context, in *ListUsersInput) (*ListUsersOutput, error)
func (*CognitoService) ResendEmailVerification ¶
func (s *CognitoService) ResendEmailVerification(ctx context.Context, in *ResendEmailVerificationInput) (*ResendEmailVerificationOutput, error)
func (*CognitoService) SelfDestruct ¶
func (s *CognitoService) SelfDestruct(ctx context.Context, in *SelfDestructInput) (*SelfDestructOutput, error)
func (*CognitoService) Signout ¶
func (s *CognitoService) Signout(ctx context.Context, in *SignoutInput) (*SignoutOutput, error)
func (*CognitoService) StartRecovery ¶
func (s *CognitoService) StartRecovery(ctx context.Context, in *StartRecoveryInput) (*StartRecoveryOutput, error)
func (*CognitoService) UpdateEmail ¶
func (s *CognitoService) UpdateEmail(ctx context.Context, in *UpdateEmailInput) (*UpdateEmailOutput, error)
func (*CognitoService) UpdatePassword ¶
func (s *CognitoService) UpdatePassword(ctx context.Context, in *UpdatePasswordInput) (*UpdatePasswordOutput, error)
func (*CognitoService) UpdatePicture ¶
func (s *CognitoService) UpdatePicture(ctx context.Context, in *UpdatePictureInput) (*UpdatePictureOutput, error)
func (*CognitoService) UpdateProfile ¶
func (s *CognitoService) UpdateProfile(ctx context.Context, in *UpdateProfileInput) (*UpdateProfileOutput, error)
func (*CognitoService) UpdateRoles ¶
func (s *CognitoService) UpdateRoles(ctx context.Context, in *UpdateRolesInput) (*UpdateRolesOutput, error)
func (*CognitoService) VerifyEmail ¶
func (s *CognitoService) VerifyEmail(ctx context.Context, in *VerifyEmailInput) (*VerifyEmailOutput, error)
type CompleteRecoverInput ¶
type CompleteRecoverInput struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // user id Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // secret from the email sent during StartRecovery Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // new password for the user // contains filtered or unexported fields }
func (*CompleteRecoverInput) Descriptor
deprecated
func (*CompleteRecoverInput) Descriptor() ([]byte, []int)
Deprecated: Use CompleteRecoverInput.ProtoReflect.Descriptor instead.
func (*CompleteRecoverInput) GetPassword ¶
func (x *CompleteRecoverInput) GetPassword() string
func (*CompleteRecoverInput) GetSecret ¶
func (x *CompleteRecoverInput) GetSecret() string
func (*CompleteRecoverInput) GetUserId ¶
func (x *CompleteRecoverInput) GetUserId() string
func (*CompleteRecoverInput) ProtoMessage ¶
func (*CompleteRecoverInput) ProtoMessage()
func (*CompleteRecoverInput) ProtoReflect ¶
func (x *CompleteRecoverInput) ProtoReflect() protoreflect.Message
func (*CompleteRecoverInput) Reset ¶
func (x *CompleteRecoverInput) Reset()
func (*CompleteRecoverInput) String ¶
func (x *CompleteRecoverInput) String() string
type CompleteRecoverOutput ¶
type CompleteRecoverOutput struct {
// contains filtered or unexported fields
}
func (*CompleteRecoverOutput) Descriptor
deprecated
func (*CompleteRecoverOutput) Descriptor() ([]byte, []int)
Deprecated: Use CompleteRecoverOutput.ProtoReflect.Descriptor instead.
func (*CompleteRecoverOutput) ProtoMessage ¶
func (*CompleteRecoverOutput) ProtoMessage()
func (*CompleteRecoverOutput) ProtoReflect ¶
func (x *CompleteRecoverOutput) ProtoReflect() protoreflect.Message
func (*CompleteRecoverOutput) Reset ¶
func (x *CompleteRecoverOutput) Reset()
func (*CompleteRecoverOutput) String ¶
func (x *CompleteRecoverOutput) String() string
type CreateAccessKeyInput ¶
type CreateAccessKeyInput struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` ExpiresIn uint32 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // contains filtered or unexported fields }
func (*CreateAccessKeyInput) Descriptor
deprecated
func (*CreateAccessKeyInput) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessKeyInput.ProtoReflect.Descriptor instead.
func (*CreateAccessKeyInput) GetExpiresIn ¶
func (x *CreateAccessKeyInput) GetExpiresIn() uint32
func (*CreateAccessKeyInput) GetName ¶
func (x *CreateAccessKeyInput) GetName() string
func (*CreateAccessKeyInput) GetScope ¶
func (x *CreateAccessKeyInput) GetScope() string
func (*CreateAccessKeyInput) ProtoMessage ¶
func (*CreateAccessKeyInput) ProtoMessage()
func (*CreateAccessKeyInput) ProtoReflect ¶
func (x *CreateAccessKeyInput) ProtoReflect() protoreflect.Message
func (*CreateAccessKeyInput) Reset ¶
func (x *CreateAccessKeyInput) Reset()
func (*CreateAccessKeyInput) String ¶
func (x *CreateAccessKeyInput) String() string
type CreateAccessKeyOutput ¶
type CreateAccessKeyOutput struct { KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*CreateAccessKeyOutput) Descriptor
deprecated
func (*CreateAccessKeyOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessKeyOutput.ProtoReflect.Descriptor instead.
func (*CreateAccessKeyOutput) GetKeyId ¶
func (x *CreateAccessKeyOutput) GetKeyId() string
func (*CreateAccessKeyOutput) GetSecret ¶
func (x *CreateAccessKeyOutput) GetSecret() string
func (*CreateAccessKeyOutput) ProtoMessage ¶
func (*CreateAccessKeyOutput) ProtoMessage()
func (*CreateAccessKeyOutput) ProtoReflect ¶
func (x *CreateAccessKeyOutput) ProtoReflect() protoreflect.Message
func (*CreateAccessKeyOutput) Reset ¶
func (x *CreateAccessKeyOutput) Reset()
func (*CreateAccessKeyOutput) String ¶
func (x *CreateAccessKeyOutput) String() string
type CreateAuthorizationInput ¶
type CreateAuthorizationInput struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` CodeChallenge string `protobuf:"bytes,2,opt,name=code_challenge,json=codeChallenge,proto3" json:"code_challenge,omitempty"` CodeChallengeMethod string `protobuf:"bytes,3,opt,name=code_challenge_method,json=codeChallengeMethod,proto3" json:"code_challenge_method,omitempty"` RedirectUri string `protobuf:"bytes,4,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` ResponseType string `protobuf:"bytes,5,opt,name=response_type,json=responseType,proto3" json:"response_type,omitempty"` Scope string `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"` State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*CreateAuthorizationInput) Descriptor
deprecated
func (*CreateAuthorizationInput) Descriptor() ([]byte, []int)
Deprecated: Use CreateAuthorizationInput.ProtoReflect.Descriptor instead.
func (*CreateAuthorizationInput) GetClientId ¶
func (x *CreateAuthorizationInput) GetClientId() string
func (*CreateAuthorizationInput) GetCodeChallenge ¶
func (x *CreateAuthorizationInput) GetCodeChallenge() string
func (*CreateAuthorizationInput) GetCodeChallengeMethod ¶
func (x *CreateAuthorizationInput) GetCodeChallengeMethod() string
func (*CreateAuthorizationInput) GetRedirectUri ¶
func (x *CreateAuthorizationInput) GetRedirectUri() string
func (*CreateAuthorizationInput) GetResponseType ¶
func (x *CreateAuthorizationInput) GetResponseType() string
func (*CreateAuthorizationInput) GetScope ¶
func (x *CreateAuthorizationInput) GetScope() string
func (*CreateAuthorizationInput) GetState ¶
func (x *CreateAuthorizationInput) GetState() string
func (*CreateAuthorizationInput) ProtoMessage ¶
func (*CreateAuthorizationInput) ProtoMessage()
func (*CreateAuthorizationInput) ProtoReflect ¶
func (x *CreateAuthorizationInput) ProtoReflect() protoreflect.Message
func (*CreateAuthorizationInput) Reset ¶
func (x *CreateAuthorizationInput) Reset()
func (*CreateAuthorizationInput) String ¶
func (x *CreateAuthorizationInput) String() string
type CreateAuthorizationOutput ¶
type CreateAuthorizationOutput struct { AuthorizationCode string `protobuf:"bytes,1,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"` RedirectUri string `protobuf:"bytes,2,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` // contains filtered or unexported fields }
func (*CreateAuthorizationOutput) Descriptor
deprecated
func (*CreateAuthorizationOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreateAuthorizationOutput.ProtoReflect.Descriptor instead.
func (*CreateAuthorizationOutput) GetAuthorizationCode ¶
func (x *CreateAuthorizationOutput) GetAuthorizationCode() string
func (*CreateAuthorizationOutput) GetRedirectUri ¶
func (x *CreateAuthorizationOutput) GetRedirectUri() string
func (*CreateAuthorizationOutput) ProtoMessage ¶
func (*CreateAuthorizationOutput) ProtoMessage()
func (*CreateAuthorizationOutput) ProtoReflect ¶
func (x *CreateAuthorizationOutput) ProtoReflect() protoreflect.Message
func (*CreateAuthorizationOutput) Reset ¶
func (x *CreateAuthorizationOutput) Reset()
func (*CreateAuthorizationOutput) String ¶
func (x *CreateAuthorizationOutput) String() string
type CreateTokenInput ¶
type CreateTokenInput struct { GrantType CreateTokenInput_GrantType `` /* 136-byte string literal not displayed */ Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` ClientId string `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,5,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` CodeVerifier string `protobuf:"bytes,7,opt,name=code_verifier,json=codeVerifier,proto3" json:"code_verifier,omitempty"` Scope string `protobuf:"bytes,8,opt,name=scope,proto3" json:"scope,omitempty"` RefreshToken string `protobuf:"bytes,9,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*CreateTokenInput) Descriptor
deprecated
func (*CreateTokenInput) Descriptor() ([]byte, []int)
Deprecated: Use CreateTokenInput.ProtoReflect.Descriptor instead.
func (*CreateTokenInput) GetClientId ¶
func (x *CreateTokenInput) GetClientId() string
func (*CreateTokenInput) GetClientSecret ¶
func (x *CreateTokenInput) GetClientSecret() string
func (*CreateTokenInput) GetCode ¶
func (x *CreateTokenInput) GetCode() string
func (*CreateTokenInput) GetCodeVerifier ¶
func (x *CreateTokenInput) GetCodeVerifier() string
func (*CreateTokenInput) GetGrantType ¶
func (x *CreateTokenInput) GetGrantType() CreateTokenInput_GrantType
func (*CreateTokenInput) GetPassword ¶
func (x *CreateTokenInput) GetPassword() string
func (*CreateTokenInput) GetRefreshToken ¶
func (x *CreateTokenInput) GetRefreshToken() string
func (*CreateTokenInput) GetScope ¶
func (x *CreateTokenInput) GetScope() string
func (*CreateTokenInput) GetUsername ¶
func (x *CreateTokenInput) GetUsername() string
func (*CreateTokenInput) ProtoMessage ¶
func (*CreateTokenInput) ProtoMessage()
func (*CreateTokenInput) ProtoReflect ¶
func (x *CreateTokenInput) ProtoReflect() protoreflect.Message
func (*CreateTokenInput) Reset ¶
func (x *CreateTokenInput) Reset()
func (*CreateTokenInput) String ¶
func (x *CreateTokenInput) String() string
type CreateTokenInput_GrantType ¶
type CreateTokenInput_GrantType int32
const ( CreateTokenInput_NONE CreateTokenInput_GrantType = 0 CreateTokenInput_PASSWORD CreateTokenInput_GrantType = 1 CreateTokenInput_AUTHORIZATION_CODE CreateTokenInput_GrantType = 2 CreateTokenInput_REFRESH_TOKEN CreateTokenInput_GrantType = 3 CreateTokenInput_GOOGLE_CODE CreateTokenInput_GrantType = 4 )
func (CreateTokenInput_GrantType) Descriptor ¶
func (CreateTokenInput_GrantType) Descriptor() protoreflect.EnumDescriptor
func (CreateTokenInput_GrantType) Enum ¶
func (x CreateTokenInput_GrantType) Enum() *CreateTokenInput_GrantType
func (CreateTokenInput_GrantType) EnumDescriptor
deprecated
func (CreateTokenInput_GrantType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateTokenInput_GrantType.Descriptor instead.
func (CreateTokenInput_GrantType) Number ¶
func (x CreateTokenInput_GrantType) Number() protoreflect.EnumNumber
func (CreateTokenInput_GrantType) String ¶
func (x CreateTokenInput_GrantType) String() string
func (CreateTokenInput_GrantType) Type ¶
func (CreateTokenInput_GrantType) Type() protoreflect.EnumType
type CreateTokenOutput ¶
type CreateTokenOutput struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` Scopes []string `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"` RefreshToken string `protobuf:"bytes,10,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` UserId string `protobuf:"bytes,100,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Username string `protobuf:"bytes,101,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*CreateTokenOutput) Descriptor
deprecated
func (*CreateTokenOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreateTokenOutput.ProtoReflect.Descriptor instead.
func (*CreateTokenOutput) GetExpiresAt ¶
func (x *CreateTokenOutput) GetExpiresAt() *timestamppb.Timestamp
func (*CreateTokenOutput) GetRefreshToken ¶
func (x *CreateTokenOutput) GetRefreshToken() string
func (*CreateTokenOutput) GetScopes ¶
func (x *CreateTokenOutput) GetScopes() []string
func (*CreateTokenOutput) GetToken ¶
func (x *CreateTokenOutput) GetToken() string
func (*CreateTokenOutput) GetType ¶
func (x *CreateTokenOutput) GetType() string
func (*CreateTokenOutput) GetUserId ¶
func (x *CreateTokenOutput) GetUserId() string
func (*CreateTokenOutput) GetUsername ¶
func (x *CreateTokenOutput) GetUsername() string
func (*CreateTokenOutput) ProtoMessage ¶
func (*CreateTokenOutput) ProtoMessage()
func (*CreateTokenOutput) ProtoReflect ¶
func (x *CreateTokenOutput) ProtoReflect() protoreflect.Message
func (*CreateTokenOutput) Reset ¶
func (x *CreateTokenOutput) Reset()
func (*CreateTokenOutput) String ¶
func (x *CreateTokenOutput) String() string
type CreateUserInput ¶
type CreateUserInput struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // username FullName string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // full name Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // email Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // password Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` // country Birthday string `protobuf:"bytes,6,opt,name=birthday,proto3" json:"birthday,omitempty"` // birthday in format YYYY-MM-DD Captcha string `protobuf:"bytes,10,opt,name=captcha,proto3" json:"captcha,omitempty"` // captcha challenge Locale string `protobuf:"bytes,20,opt,name=locale,proto3" json:"locale,omitempty"` // default locale for user // contains filtered or unexported fields }
func (*CreateUserInput) Descriptor
deprecated
func (*CreateUserInput) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserInput.ProtoReflect.Descriptor instead.
func (*CreateUserInput) GetBirthday ¶
func (x *CreateUserInput) GetBirthday() string
func (*CreateUserInput) GetCaptcha ¶
func (x *CreateUserInput) GetCaptcha() string
func (*CreateUserInput) GetCountry ¶
func (x *CreateUserInput) GetCountry() string
func (*CreateUserInput) GetEmail ¶
func (x *CreateUserInput) GetEmail() string
func (*CreateUserInput) GetFullName ¶
func (x *CreateUserInput) GetFullName() string
func (*CreateUserInput) GetLocale ¶
func (x *CreateUserInput) GetLocale() string
func (*CreateUserInput) GetPassword ¶
func (x *CreateUserInput) GetPassword() string
func (*CreateUserInput) GetUsername ¶
func (x *CreateUserInput) GetUsername() string
func (*CreateUserInput) ProtoMessage ¶
func (*CreateUserInput) ProtoMessage()
func (*CreateUserInput) ProtoReflect ¶
func (x *CreateUserInput) ProtoReflect() protoreflect.Message
func (*CreateUserInput) Reset ¶
func (x *CreateUserInput) Reset()
func (*CreateUserInput) String ¶
func (x *CreateUserInput) String() string
type CreateUserOutput ¶
type CreateUserOutput struct { // user id for the new account UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // email confirmation hint is a string added to the email subject, so it's easier to find for user EmailConfirmationHint string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateUserOutput) Descriptor
deprecated
func (*CreateUserOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserOutput.ProtoReflect.Descriptor instead.
func (*CreateUserOutput) GetEmailConfirmationHint ¶
func (x *CreateUserOutput) GetEmailConfirmationHint() string
func (*CreateUserOutput) GetUserId ¶
func (x *CreateUserOutput) GetUserId() string
func (*CreateUserOutput) ProtoMessage ¶
func (*CreateUserOutput) ProtoMessage()
func (*CreateUserOutput) ProtoReflect ¶
func (x *CreateUserOutput) ProtoReflect() protoreflect.Message
func (*CreateUserOutput) Reset ¶
func (x *CreateUserOutput) Reset()
func (*CreateUserOutput) String ¶
func (x *CreateUserOutput) String() string
type DeleteAccessKeyInput ¶
type DeleteAccessKeyInput struct { KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccessKeyInput) Descriptor
deprecated
func (*DeleteAccessKeyInput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccessKeyInput.ProtoReflect.Descriptor instead.
func (*DeleteAccessKeyInput) GetKeyId ¶
func (x *DeleteAccessKeyInput) GetKeyId() string
func (*DeleteAccessKeyInput) ProtoMessage ¶
func (*DeleteAccessKeyInput) ProtoMessage()
func (*DeleteAccessKeyInput) ProtoReflect ¶
func (x *DeleteAccessKeyInput) ProtoReflect() protoreflect.Message
func (*DeleteAccessKeyInput) Reset ¶
func (x *DeleteAccessKeyInput) Reset()
func (*DeleteAccessKeyInput) String ¶
func (x *DeleteAccessKeyInput) String() string
type DeleteAccessKeyOutput ¶
type DeleteAccessKeyOutput struct {
// contains filtered or unexported fields
}
func (*DeleteAccessKeyOutput) Descriptor
deprecated
func (*DeleteAccessKeyOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccessKeyOutput.ProtoReflect.Descriptor instead.
func (*DeleteAccessKeyOutput) ProtoMessage ¶
func (*DeleteAccessKeyOutput) ProtoMessage()
func (*DeleteAccessKeyOutput) ProtoReflect ¶
func (x *DeleteAccessKeyOutput) ProtoReflect() protoreflect.Message
func (*DeleteAccessKeyOutput) Reset ¶
func (x *DeleteAccessKeyOutput) Reset()
func (*DeleteAccessKeyOutput) String ¶
func (x *DeleteAccessKeyOutput) String() string
type DescribeUserInput ¶
type DescribeUserInput struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*DescribeUserInput) Descriptor
deprecated
func (*DescribeUserInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeUserInput.ProtoReflect.Descriptor instead.
func (*DescribeUserInput) GetUserId ¶
func (x *DescribeUserInput) GetUserId() string
func (*DescribeUserInput) ProtoMessage ¶
func (*DescribeUserInput) ProtoMessage()
func (*DescribeUserInput) ProtoReflect ¶
func (x *DescribeUserInput) ProtoReflect() protoreflect.Message
func (*DescribeUserInput) Reset ¶
func (x *DescribeUserInput) Reset()
func (*DescribeUserInput) String ¶
func (x *DescribeUserInput) String() string
type DescribeUserOutput ¶
type DescribeUserOutput struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*DescribeUserOutput) Descriptor
deprecated
func (*DescribeUserOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeUserOutput.ProtoReflect.Descriptor instead.
func (*DescribeUserOutput) GetUser ¶
func (x *DescribeUserOutput) GetUser() *User
func (*DescribeUserOutput) ProtoMessage ¶
func (*DescribeUserOutput) ProtoMessage()
func (*DescribeUserOutput) ProtoReflect ¶
func (x *DescribeUserOutput) ProtoReflect() protoreflect.Message
func (*DescribeUserOutput) Reset ¶
func (x *DescribeUserOutput) Reset()
func (*DescribeUserOutput) String ¶
func (x *DescribeUserOutput) String() string
type IntrospectQuotaInput ¶
type IntrospectQuotaInput struct {
// contains filtered or unexported fields
}
func (*IntrospectQuotaInput) Descriptor
deprecated
func (*IntrospectQuotaInput) Descriptor() ([]byte, []int)
Deprecated: Use IntrospectQuotaInput.ProtoReflect.Descriptor instead.
func (*IntrospectQuotaInput) ProtoMessage ¶
func (*IntrospectQuotaInput) ProtoMessage()
func (*IntrospectQuotaInput) ProtoReflect ¶
func (x *IntrospectQuotaInput) ProtoReflect() protoreflect.Message
func (*IntrospectQuotaInput) Reset ¶
func (x *IntrospectQuotaInput) Reset()
func (*IntrospectQuotaInput) String ¶
func (x *IntrospectQuotaInput) String() string
type IntrospectQuotaOutput ¶
type IntrospectQuotaOutput struct { ContestsPerUser *Quota `protobuf:"bytes,10,opt,name=contests_per_user,json=contestsPerUser,proto3" json:"contests_per_user,omitempty"` // number of contests per user ProblemsPerContest *Quota `protobuf:"bytes,11,opt,name=problems_per_contest,json=problemsPerContest,proto3" json:"problems_per_contest,omitempty"` // number of problems per contest ParticipantsPerContest *Quota `` // number of participants per contest /* 130-byte string literal not displayed */ ProblemsPerUser *Quota `protobuf:"bytes,20,opt,name=problems_per_user,json=problemsPerUser,proto3" json:"problems_per_user,omitempty"` // number of problems per user // contains filtered or unexported fields }
func (*IntrospectQuotaOutput) Descriptor
deprecated
func (*IntrospectQuotaOutput) Descriptor() ([]byte, []int)
Deprecated: Use IntrospectQuotaOutput.ProtoReflect.Descriptor instead.
func (*IntrospectQuotaOutput) GetContestsPerUser ¶
func (x *IntrospectQuotaOutput) GetContestsPerUser() *Quota
func (*IntrospectQuotaOutput) GetParticipantsPerContest ¶
func (x *IntrospectQuotaOutput) GetParticipantsPerContest() *Quota
func (*IntrospectQuotaOutput) GetProblemsPerContest ¶
func (x *IntrospectQuotaOutput) GetProblemsPerContest() *Quota
func (*IntrospectQuotaOutput) GetProblemsPerUser ¶
func (x *IntrospectQuotaOutput) GetProblemsPerUser() *Quota
func (*IntrospectQuotaOutput) ProtoMessage ¶
func (*IntrospectQuotaOutput) ProtoMessage()
func (*IntrospectQuotaOutput) ProtoReflect ¶
func (x *IntrospectQuotaOutput) ProtoReflect() protoreflect.Message
func (*IntrospectQuotaOutput) Reset ¶
func (x *IntrospectQuotaOutput) Reset()
func (*IntrospectQuotaOutput) String ¶
func (x *IntrospectQuotaOutput) String() string
type IntrospectRolesInput ¶
type IntrospectRolesInput struct {
// contains filtered or unexported fields
}
func (*IntrospectRolesInput) Descriptor
deprecated
func (*IntrospectRolesInput) Descriptor() ([]byte, []int)
Deprecated: Use IntrospectRolesInput.ProtoReflect.Descriptor instead.
func (*IntrospectRolesInput) ProtoMessage ¶
func (*IntrospectRolesInput) ProtoMessage()
func (*IntrospectRolesInput) ProtoReflect ¶
func (x *IntrospectRolesInput) ProtoReflect() protoreflect.Message
func (*IntrospectRolesInput) Reset ¶
func (x *IntrospectRolesInput) Reset()
func (*IntrospectRolesInput) String ¶
func (x *IntrospectRolesInput) String() string
type IntrospectRolesOutput ¶
type IntrospectRolesOutput struct { Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*IntrospectRolesOutput) Descriptor
deprecated
func (*IntrospectRolesOutput) Descriptor() ([]byte, []int)
Deprecated: Use IntrospectRolesOutput.ProtoReflect.Descriptor instead.
func (*IntrospectRolesOutput) GetRoles ¶
func (x *IntrospectRolesOutput) GetRoles() []string
func (*IntrospectRolesOutput) ProtoMessage ¶
func (*IntrospectRolesOutput) ProtoMessage()
func (*IntrospectRolesOutput) ProtoReflect ¶
func (x *IntrospectRolesOutput) ProtoReflect() protoreflect.Message
func (*IntrospectRolesOutput) Reset ¶
func (x *IntrospectRolesOutput) Reset()
func (*IntrospectRolesOutput) String ¶
func (x *IntrospectRolesOutput) String() string
type IntrospectTokenInput ¶
type IntrospectTokenInput struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*IntrospectTokenInput) Descriptor
deprecated
func (*IntrospectTokenInput) Descriptor() ([]byte, []int)
Deprecated: Use IntrospectTokenInput.ProtoReflect.Descriptor instead.
func (*IntrospectTokenInput) GetToken ¶
func (x *IntrospectTokenInput) GetToken() string
func (*IntrospectTokenInput) ProtoMessage ¶
func (*IntrospectTokenInput) ProtoMessage()
func (*IntrospectTokenInput) ProtoReflect ¶
func (x *IntrospectTokenInput) ProtoReflect() protoreflect.Message
func (*IntrospectTokenInput) Reset ¶
func (x *IntrospectTokenInput) Reset()
func (*IntrospectTokenInput) String ¶
func (x *IntrospectTokenInput) String() string
type IntrospectTokenOutput ¶
type IntrospectTokenOutput struct { Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` Expire *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire,proto3" json:"expire,omitempty"` Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` Audience string `protobuf:"bytes,5,opt,name=audience,proto3" json:"audience,omitempty"` Issuer string `protobuf:"bytes,6,opt,name=issuer,proto3" json:"issuer,omitempty"` Name string `protobuf:"bytes,100,opt,name=name,proto3" json:"name,omitempty"` Nickname string `protobuf:"bytes,101,opt,name=nickname,proto3" json:"nickname,omitempty"` Picture string `protobuf:"bytes,102,opt,name=picture,proto3" json:"picture,omitempty"` Email string `protobuf:"bytes,103,opt,name=email,proto3" json:"email,omitempty"` EmailVerified bool `protobuf:"varint,104,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"` Locale string `protobuf:"bytes,105,opt,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
func (*IntrospectTokenOutput) Descriptor
deprecated
func (*IntrospectTokenOutput) Descriptor() ([]byte, []int)
Deprecated: Use IntrospectTokenOutput.ProtoReflect.Descriptor instead.
func (*IntrospectTokenOutput) GetActive ¶
func (x *IntrospectTokenOutput) GetActive() bool
func (*IntrospectTokenOutput) GetAudience ¶
func (x *IntrospectTokenOutput) GetAudience() string
func (*IntrospectTokenOutput) GetEmail ¶
func (x *IntrospectTokenOutput) GetEmail() string
func (*IntrospectTokenOutput) GetEmailVerified ¶
func (x *IntrospectTokenOutput) GetEmailVerified() bool
func (*IntrospectTokenOutput) GetExpire ¶
func (x *IntrospectTokenOutput) GetExpire() *timestamppb.Timestamp
func (*IntrospectTokenOutput) GetIssuer ¶
func (x *IntrospectTokenOutput) GetIssuer() string
func (*IntrospectTokenOutput) GetLocale ¶
func (x *IntrospectTokenOutput) GetLocale() string
func (*IntrospectTokenOutput) GetName ¶
func (x *IntrospectTokenOutput) GetName() string
func (*IntrospectTokenOutput) GetNickname ¶
func (x *IntrospectTokenOutput) GetNickname() string
func (*IntrospectTokenOutput) GetPicture ¶
func (x *IntrospectTokenOutput) GetPicture() string
func (*IntrospectTokenOutput) GetScope ¶
func (x *IntrospectTokenOutput) GetScope() string
func (*IntrospectTokenOutput) GetSubject ¶
func (x *IntrospectTokenOutput) GetSubject() string
func (*IntrospectTokenOutput) ProtoMessage ¶
func (*IntrospectTokenOutput) ProtoMessage()
func (*IntrospectTokenOutput) ProtoReflect ¶
func (x *IntrospectTokenOutput) ProtoReflect() protoreflect.Message
func (*IntrospectTokenOutput) Reset ¶
func (x *IntrospectTokenOutput) Reset()
func (*IntrospectTokenOutput) String ¶
func (x *IntrospectTokenOutput) String() string
type IntrospectUserInput ¶
type IntrospectUserInput struct {
// contains filtered or unexported fields
}
func (*IntrospectUserInput) Descriptor
deprecated
func (*IntrospectUserInput) Descriptor() ([]byte, []int)
Deprecated: Use IntrospectUserInput.ProtoReflect.Descriptor instead.
func (*IntrospectUserInput) ProtoMessage ¶
func (*IntrospectUserInput) ProtoMessage()
func (*IntrospectUserInput) ProtoReflect ¶
func (x *IntrospectUserInput) ProtoReflect() protoreflect.Message
func (*IntrospectUserInput) Reset ¶
func (x *IntrospectUserInput) Reset()
func (*IntrospectUserInput) String ¶
func (x *IntrospectUserInput) String() string
type IntrospectUserOutput ¶
type IntrospectUserOutput struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*IntrospectUserOutput) Descriptor
deprecated
func (*IntrospectUserOutput) Descriptor() ([]byte, []int)
Deprecated: Use IntrospectUserOutput.ProtoReflect.Descriptor instead.
func (*IntrospectUserOutput) GetUser ¶
func (x *IntrospectUserOutput) GetUser() *User
func (*IntrospectUserOutput) ProtoMessage ¶
func (*IntrospectUserOutput) ProtoMessage()
func (*IntrospectUserOutput) ProtoReflect ¶
func (x *IntrospectUserOutput) ProtoReflect() protoreflect.Message
func (*IntrospectUserOutput) Reset ¶
func (x *IntrospectUserOutput) Reset()
func (*IntrospectUserOutput) String ¶
func (x *IntrospectUserOutput) String() string
type ListAccessKeysInput ¶
type ListAccessKeysInput struct { Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListAccessKeysInput) Descriptor
deprecated
func (*ListAccessKeysInput) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessKeysInput.ProtoReflect.Descriptor instead.
func (*ListAccessKeysInput) GetOffset ¶
func (x *ListAccessKeysInput) GetOffset() int32
func (*ListAccessKeysInput) GetSize ¶
func (x *ListAccessKeysInput) GetSize() int32
func (*ListAccessKeysInput) ProtoMessage ¶
func (*ListAccessKeysInput) ProtoMessage()
func (*ListAccessKeysInput) ProtoReflect ¶
func (x *ListAccessKeysInput) ProtoReflect() protoreflect.Message
func (*ListAccessKeysInput) Reset ¶
func (x *ListAccessKeysInput) Reset()
func (*ListAccessKeysInput) String ¶
func (x *ListAccessKeysInput) String() string
type ListAccessKeysOutput ¶
type ListAccessKeysOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*AccessKey `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListAccessKeysOutput) Descriptor
deprecated
func (*ListAccessKeysOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessKeysOutput.ProtoReflect.Descriptor instead.
func (*ListAccessKeysOutput) GetItems ¶
func (x *ListAccessKeysOutput) GetItems() []*AccessKey
func (*ListAccessKeysOutput) GetTotal ¶
func (x *ListAccessKeysOutput) GetTotal() int32
func (*ListAccessKeysOutput) ProtoMessage ¶
func (*ListAccessKeysOutput) ProtoMessage()
func (*ListAccessKeysOutput) ProtoReflect ¶
func (x *ListAccessKeysOutput) ProtoReflect() protoreflect.Message
func (*ListAccessKeysOutput) Reset ¶
func (x *ListAccessKeysOutput) Reset()
func (*ListAccessKeysOutput) String ¶
func (x *ListAccessKeysOutput) String() string
type ListRolesInput ¶
type ListRolesInput struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*ListRolesInput) Descriptor
deprecated
func (*ListRolesInput) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesInput.ProtoReflect.Descriptor instead.
func (*ListRolesInput) GetUserId ¶
func (x *ListRolesInput) GetUserId() string
func (*ListRolesInput) ProtoMessage ¶
func (*ListRolesInput) ProtoMessage()
func (*ListRolesInput) ProtoReflect ¶
func (x *ListRolesInput) ProtoReflect() protoreflect.Message
func (*ListRolesInput) Reset ¶
func (x *ListRolesInput) Reset()
func (*ListRolesInput) String ¶
func (x *ListRolesInput) String() string
type ListRolesOutput ¶
type ListRolesOutput struct { Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*ListRolesOutput) Descriptor
deprecated
func (*ListRolesOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesOutput.ProtoReflect.Descriptor instead.
func (*ListRolesOutput) GetRoles ¶
func (x *ListRolesOutput) GetRoles() []string
func (*ListRolesOutput) ProtoMessage ¶
func (*ListRolesOutput) ProtoMessage()
func (*ListRolesOutput) ProtoReflect ¶
func (x *ListRolesOutput) ProtoReflect() protoreflect.Message
func (*ListRolesOutput) Reset ¶
func (x *ListRolesOutput) Reset()
func (*ListRolesOutput) String ¶
func (x *ListRolesOutput) String() string
type ListUsersInput ¶
type ListUsersInput struct { // pagination Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // data filters Filters *ListUsersInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*ListUsersInput) Descriptor
deprecated
func (*ListUsersInput) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersInput.ProtoReflect.Descriptor instead.
func (*ListUsersInput) GetFilters ¶
func (x *ListUsersInput) GetFilters() *ListUsersInput_Filter
func (*ListUsersInput) GetOffset ¶
func (x *ListUsersInput) GetOffset() int32
func (*ListUsersInput) GetSize ¶
func (x *ListUsersInput) GetSize() int32
func (*ListUsersInput) ProtoMessage ¶
func (*ListUsersInput) ProtoMessage()
func (*ListUsersInput) ProtoReflect ¶
func (x *ListUsersInput) ProtoReflect() protoreflect.Message
func (*ListUsersInput) Reset ¶
func (x *ListUsersInput) Reset()
func (*ListUsersInput) String ¶
func (x *ListUsersInput) String() string
type ListUsersInput_Filter ¶
type ListUsersInput_Filter struct { Id []*wellknown.ExpressionID `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"` Username []*wellknown.ExpressionString `protobuf:"bytes,2,rep,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*ListUsersInput_Filter) Descriptor
deprecated
func (*ListUsersInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersInput_Filter.ProtoReflect.Descriptor instead.
func (*ListUsersInput_Filter) GetId ¶
func (x *ListUsersInput_Filter) GetId() []*wellknown.ExpressionID
func (*ListUsersInput_Filter) GetUsername ¶
func (x *ListUsersInput_Filter) GetUsername() []*wellknown.ExpressionString
func (*ListUsersInput_Filter) ProtoMessage ¶
func (*ListUsersInput_Filter) ProtoMessage()
func (*ListUsersInput_Filter) ProtoReflect ¶
func (x *ListUsersInput_Filter) ProtoReflect() protoreflect.Message
func (*ListUsersInput_Filter) Reset ¶
func (x *ListUsersInput_Filter) Reset()
func (*ListUsersInput_Filter) String ¶
func (x *ListUsersInput_Filter) String() string
type ListUsersOutput ¶
type ListUsersOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*User `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListUsersOutput) Descriptor
deprecated
func (*ListUsersOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersOutput.ProtoReflect.Descriptor instead.
func (*ListUsersOutput) GetItems ¶
func (x *ListUsersOutput) GetItems() []*User
func (*ListUsersOutput) GetTotal ¶
func (x *ListUsersOutput) GetTotal() int32
func (*ListUsersOutput) ProtoMessage ¶
func (*ListUsersOutput) ProtoMessage()
func (*ListUsersOutput) ProtoReflect ¶
func (x *ListUsersOutput) ProtoReflect() protoreflect.Message
func (*ListUsersOutput) Reset ¶
func (x *ListUsersOutput) Reset()
func (*ListUsersOutput) String ¶
func (x *ListUsersOutput) String() string
type NotifyUserInput ¶
type NotifyUserInput struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // user who should be notified Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` // notification type Parameters map[string]string `` // notification parameters /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NotifyUserInput) Descriptor
deprecated
func (*NotifyUserInput) Descriptor() ([]byte, []int)
Deprecated: Use NotifyUserInput.ProtoReflect.Descriptor instead.
func (*NotifyUserInput) GetParameters ¶
func (x *NotifyUserInput) GetParameters() map[string]string
func (*NotifyUserInput) GetTemplate ¶
func (x *NotifyUserInput) GetTemplate() string
func (*NotifyUserInput) GetUserId ¶
func (x *NotifyUserInput) GetUserId() string
func (*NotifyUserInput) ProtoMessage ¶
func (*NotifyUserInput) ProtoMessage()
func (*NotifyUserInput) ProtoReflect ¶
func (x *NotifyUserInput) ProtoReflect() protoreflect.Message
func (*NotifyUserInput) Reset ¶
func (x *NotifyUserInput) Reset()
func (*NotifyUserInput) String ¶
func (x *NotifyUserInput) String() string
type NotifyUserOutput ¶
type NotifyUserOutput struct { NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` // contains filtered or unexported fields }
func (*NotifyUserOutput) Descriptor
deprecated
func (*NotifyUserOutput) Descriptor() ([]byte, []int)
Deprecated: Use NotifyUserOutput.ProtoReflect.Descriptor instead.
func (*NotifyUserOutput) GetNotificationId ¶
func (x *NotifyUserOutput) GetNotificationId() string
func (*NotifyUserOutput) ProtoMessage ¶
func (*NotifyUserOutput) ProtoMessage()
func (*NotifyUserOutput) ProtoReflect ¶
func (x *NotifyUserOutput) ProtoReflect() protoreflect.Message
func (*NotifyUserOutput) Reset ¶
func (x *NotifyUserOutput) Reset()
func (*NotifyUserOutput) String ¶
func (x *NotifyUserOutput) String() string
type Quota ¶
type Quota struct { Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` Unlimited bool `protobuf:"varint,2,opt,name=unlimited,proto3" json:"unlimited,omitempty"` // contains filtered or unexported fields }
func (*Quota) Descriptor
deprecated
func (*Quota) GetUnlimited ¶
func (*Quota) ProtoMessage ¶
func (*Quota) ProtoMessage()
func (*Quota) ProtoReflect ¶
func (x *Quota) ProtoReflect() protoreflect.Message
type ResendEmailVerificationInput ¶
type ResendEmailVerificationInput struct {
// contains filtered or unexported fields
}
func (*ResendEmailVerificationInput) Descriptor
deprecated
func (*ResendEmailVerificationInput) Descriptor() ([]byte, []int)
Deprecated: Use ResendEmailVerificationInput.ProtoReflect.Descriptor instead.
func (*ResendEmailVerificationInput) ProtoMessage ¶
func (*ResendEmailVerificationInput) ProtoMessage()
func (*ResendEmailVerificationInput) ProtoReflect ¶
func (x *ResendEmailVerificationInput) ProtoReflect() protoreflect.Message
func (*ResendEmailVerificationInput) Reset ¶
func (x *ResendEmailVerificationInput) Reset()
func (*ResendEmailVerificationInput) String ¶
func (x *ResendEmailVerificationInput) String() string
type ResendEmailVerificationOutput ¶
type ResendEmailVerificationOutput struct { EmailConfirmationHint string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ResendEmailVerificationOutput) Descriptor
deprecated
func (*ResendEmailVerificationOutput) Descriptor() ([]byte, []int)
Deprecated: Use ResendEmailVerificationOutput.ProtoReflect.Descriptor instead.
func (*ResendEmailVerificationOutput) GetEmailConfirmationHint ¶
func (x *ResendEmailVerificationOutput) GetEmailConfirmationHint() string
func (*ResendEmailVerificationOutput) ProtoMessage ¶
func (*ResendEmailVerificationOutput) ProtoMessage()
func (*ResendEmailVerificationOutput) ProtoReflect ¶
func (x *ResendEmailVerificationOutput) ProtoReflect() protoreflect.Message
func (*ResendEmailVerificationOutput) Reset ¶
func (x *ResendEmailVerificationOutput) Reset()
func (*ResendEmailVerificationOutput) String ¶
func (x *ResendEmailVerificationOutput) String() string
type RevokeTokenInput ¶
type RevokeTokenInput struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*RevokeTokenInput) Descriptor
deprecated
func (*RevokeTokenInput) Descriptor() ([]byte, []int)
Deprecated: Use RevokeTokenInput.ProtoReflect.Descriptor instead.
func (*RevokeTokenInput) GetToken ¶
func (x *RevokeTokenInput) GetToken() string
func (*RevokeTokenInput) ProtoMessage ¶
func (*RevokeTokenInput) ProtoMessage()
func (*RevokeTokenInput) ProtoReflect ¶
func (x *RevokeTokenInput) ProtoReflect() protoreflect.Message
func (*RevokeTokenInput) Reset ¶
func (x *RevokeTokenInput) Reset()
func (*RevokeTokenInput) String ¶
func (x *RevokeTokenInput) String() string
type RevokeTokenOutput ¶
type RevokeTokenOutput struct {
// contains filtered or unexported fields
}
func (*RevokeTokenOutput) Descriptor
deprecated
func (*RevokeTokenOutput) Descriptor() ([]byte, []int)
Deprecated: Use RevokeTokenOutput.ProtoReflect.Descriptor instead.
func (*RevokeTokenOutput) ProtoMessage ¶
func (*RevokeTokenOutput) ProtoMessage()
func (*RevokeTokenOutput) ProtoReflect ¶
func (x *RevokeTokenOutput) ProtoReflect() protoreflect.Message
func (*RevokeTokenOutput) Reset ¶
func (x *RevokeTokenOutput) Reset()
func (*RevokeTokenOutput) String ¶
func (x *RevokeTokenOutput) String() string
type SelfDestructInput ¶
type SelfDestructInput struct {
// contains filtered or unexported fields
}
func (*SelfDestructInput) Descriptor
deprecated
func (*SelfDestructInput) Descriptor() ([]byte, []int)
Deprecated: Use SelfDestructInput.ProtoReflect.Descriptor instead.
func (*SelfDestructInput) ProtoMessage ¶
func (*SelfDestructInput) ProtoMessage()
func (*SelfDestructInput) ProtoReflect ¶
func (x *SelfDestructInput) ProtoReflect() protoreflect.Message
func (*SelfDestructInput) Reset ¶
func (x *SelfDestructInput) Reset()
func (*SelfDestructInput) String ¶
func (x *SelfDestructInput) String() string
type SelfDestructOutput ¶
type SelfDestructOutput struct { DeleteOn *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=delete_on,json=deleteOn,proto3" json:"delete_on,omitempty"` // contains filtered or unexported fields }
func (*SelfDestructOutput) Descriptor
deprecated
func (*SelfDestructOutput) Descriptor() ([]byte, []int)
Deprecated: Use SelfDestructOutput.ProtoReflect.Descriptor instead.
func (*SelfDestructOutput) GetDeleteOn ¶
func (x *SelfDestructOutput) GetDeleteOn() *timestamppb.Timestamp
func (*SelfDestructOutput) ProtoMessage ¶
func (*SelfDestructOutput) ProtoMessage()
func (*SelfDestructOutput) ProtoReflect ¶
func (x *SelfDestructOutput) ProtoReflect() protoreflect.Message
func (*SelfDestructOutput) Reset ¶
func (x *SelfDestructOutput) Reset()
func (*SelfDestructOutput) String ¶
func (x *SelfDestructOutput) String() string
type SigninInput ¶
type SigninInput struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*SigninInput) Descriptor
deprecated
func (*SigninInput) Descriptor() ([]byte, []int)
Deprecated: Use SigninInput.ProtoReflect.Descriptor instead.
func (*SigninInput) GetPassword ¶
func (x *SigninInput) GetPassword() string
func (*SigninInput) GetUsername ¶
func (x *SigninInput) GetUsername() string
func (*SigninInput) ProtoMessage ¶
func (*SigninInput) ProtoMessage()
func (*SigninInput) ProtoReflect ¶
func (x *SigninInput) ProtoReflect() protoreflect.Message
func (*SigninInput) Reset ¶
func (x *SigninInput) Reset()
func (*SigninInput) String ¶
func (x *SigninInput) String() string
type SigninOutput ¶
type SigninOutput struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*SigninOutput) Descriptor
deprecated
func (*SigninOutput) Descriptor() ([]byte, []int)
Deprecated: Use SigninOutput.ProtoReflect.Descriptor instead.
func (*SigninOutput) GetUser ¶
func (x *SigninOutput) GetUser() *User
func (*SigninOutput) ProtoMessage ¶
func (*SigninOutput) ProtoMessage()
func (*SigninOutput) ProtoReflect ¶
func (x *SigninOutput) ProtoReflect() protoreflect.Message
func (*SigninOutput) Reset ¶
func (x *SigninOutput) Reset()
func (*SigninOutput) String ¶
func (x *SigninOutput) String() string
type SignoutInput ¶
type SignoutInput struct { Everywhere bool `protobuf:"varint,1,opt,name=everywhere,proto3" json:"everywhere,omitempty"` // contains filtered or unexported fields }
func (*SignoutInput) Descriptor
deprecated
func (*SignoutInput) Descriptor() ([]byte, []int)
Deprecated: Use SignoutInput.ProtoReflect.Descriptor instead.
func (*SignoutInput) GetEverywhere ¶
func (x *SignoutInput) GetEverywhere() bool
func (*SignoutInput) ProtoMessage ¶
func (*SignoutInput) ProtoMessage()
func (*SignoutInput) ProtoReflect ¶
func (x *SignoutInput) ProtoReflect() protoreflect.Message
func (*SignoutInput) Reset ¶
func (x *SignoutInput) Reset()
func (*SignoutInput) String ¶
func (x *SignoutInput) String() string
type SignoutOutput ¶
type SignoutOutput struct {
// contains filtered or unexported fields
}
func (*SignoutOutput) Descriptor
deprecated
func (*SignoutOutput) Descriptor() ([]byte, []int)
Deprecated: Use SignoutOutput.ProtoReflect.Descriptor instead.
func (*SignoutOutput) ProtoMessage ¶
func (*SignoutOutput) ProtoMessage()
func (*SignoutOutput) ProtoReflect ¶
func (x *SignoutOutput) ProtoReflect() protoreflect.Message
func (*SignoutOutput) Reset ¶
func (x *SignoutOutput) Reset()
func (*SignoutOutput) String ¶
func (x *SignoutOutput) String() string
type StartRecoveryInput ¶
type StartRecoveryInput struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // email of the user who starts recovery procedure Captcha string `protobuf:"bytes,2,opt,name=captcha,proto3" json:"captcha,omitempty"` // captcha challenge Locale string `protobuf:"bytes,20,opt,name=locale,proto3" json:"locale,omitempty"` // default locale for user // contains filtered or unexported fields }
func (*StartRecoveryInput) Descriptor
deprecated
func (*StartRecoveryInput) Descriptor() ([]byte, []int)
Deprecated: Use StartRecoveryInput.ProtoReflect.Descriptor instead.
func (*StartRecoveryInput) GetCaptcha ¶
func (x *StartRecoveryInput) GetCaptcha() string
func (*StartRecoveryInput) GetEmail ¶
func (x *StartRecoveryInput) GetEmail() string
func (*StartRecoveryInput) GetLocale ¶
func (x *StartRecoveryInput) GetLocale() string
func (*StartRecoveryInput) ProtoMessage ¶
func (*StartRecoveryInput) ProtoMessage()
func (*StartRecoveryInput) ProtoReflect ¶
func (x *StartRecoveryInput) ProtoReflect() protoreflect.Message
func (*StartRecoveryInput) Reset ¶
func (x *StartRecoveryInput) Reset()
func (*StartRecoveryInput) String ¶
func (x *StartRecoveryInput) String() string
type StartRecoveryOutput ¶
type StartRecoveryOutput struct { // email recovery hint is a string added to the email subject, so it's easier to find for user // this field will be populated even if email wasn't sent EmailRecoveryHint string `protobuf:"bytes,1,opt,name=email_recovery_hint,json=emailRecoveryHint,proto3" json:"email_recovery_hint,omitempty"` // contains filtered or unexported fields }
func (*StartRecoveryOutput) Descriptor
deprecated
func (*StartRecoveryOutput) Descriptor() ([]byte, []int)
Deprecated: Use StartRecoveryOutput.ProtoReflect.Descriptor instead.
func (*StartRecoveryOutput) GetEmailRecoveryHint ¶
func (x *StartRecoveryOutput) GetEmailRecoveryHint() string
func (*StartRecoveryOutput) ProtoMessage ¶
func (*StartRecoveryOutput) ProtoMessage()
func (*StartRecoveryOutput) ProtoReflect ¶
func (x *StartRecoveryOutput) ProtoReflect() protoreflect.Message
func (*StartRecoveryOutput) Reset ¶
func (x *StartRecoveryOutput) Reset()
func (*StartRecoveryOutput) String ¶
func (x *StartRecoveryOutput) String() string
type UnimplementedCognitoServer ¶
type UnimplementedCognitoServer struct { }
UnimplementedCognitoServer should be embedded to have forward compatible implementations.
func (UnimplementedCognitoServer) CompleteRecovery ¶
func (UnimplementedCognitoServer) CompleteRecovery(context.Context, *CompleteRecoverInput) (*CompleteRecoverOutput, error)
func (UnimplementedCognitoServer) CreateAccessKey ¶
func (UnimplementedCognitoServer) CreateAccessKey(context.Context, *CreateAccessKeyInput) (*CreateAccessKeyOutput, error)
func (UnimplementedCognitoServer) CreateToken ¶
func (UnimplementedCognitoServer) CreateToken(context.Context, *CreateTokenInput) (*CreateTokenOutput, error)
func (UnimplementedCognitoServer) CreateUser ¶
func (UnimplementedCognitoServer) CreateUser(context.Context, *CreateUserInput) (*CreateUserOutput, error)
func (UnimplementedCognitoServer) DeleteAccessKey ¶
func (UnimplementedCognitoServer) DeleteAccessKey(context.Context, *DeleteAccessKeyInput) (*DeleteAccessKeyOutput, error)
func (UnimplementedCognitoServer) DescribeUser ¶
func (UnimplementedCognitoServer) DescribeUser(context.Context, *DescribeUserInput) (*DescribeUserOutput, error)
func (UnimplementedCognitoServer) IntrospectQuota ¶
func (UnimplementedCognitoServer) IntrospectQuota(context.Context, *IntrospectQuotaInput) (*IntrospectQuotaOutput, error)
func (UnimplementedCognitoServer) IntrospectRoles ¶
func (UnimplementedCognitoServer) IntrospectRoles(context.Context, *IntrospectRolesInput) (*IntrospectRolesOutput, error)
func (UnimplementedCognitoServer) IntrospectToken ¶
func (UnimplementedCognitoServer) IntrospectToken(context.Context, *IntrospectTokenInput) (*IntrospectTokenOutput, error)
func (UnimplementedCognitoServer) IntrospectUser ¶
func (UnimplementedCognitoServer) IntrospectUser(context.Context, *IntrospectUserInput) (*IntrospectUserOutput, error)
func (UnimplementedCognitoServer) ListAccessKeys ¶
func (UnimplementedCognitoServer) ListAccessKeys(context.Context, *ListAccessKeysInput) (*ListAccessKeysOutput, error)
func (UnimplementedCognitoServer) ListRoles ¶
func (UnimplementedCognitoServer) ListRoles(context.Context, *ListRolesInput) (*ListRolesOutput, error)
func (UnimplementedCognitoServer) ListUsers ¶
func (UnimplementedCognitoServer) ListUsers(context.Context, *ListUsersInput) (*ListUsersOutput, error)
func (UnimplementedCognitoServer) ResendEmailVerification ¶
func (UnimplementedCognitoServer) ResendEmailVerification(context.Context, *ResendEmailVerificationInput) (*ResendEmailVerificationOutput, error)
func (UnimplementedCognitoServer) RevokeToken ¶
func (UnimplementedCognitoServer) RevokeToken(context.Context, *RevokeTokenInput) (*RevokeTokenOutput, error)
func (UnimplementedCognitoServer) SelfDestruct ¶
func (UnimplementedCognitoServer) SelfDestruct(context.Context, *SelfDestructInput) (*SelfDestructOutput, error)
func (UnimplementedCognitoServer) Signout ¶
func (UnimplementedCognitoServer) Signout(context.Context, *SignoutInput) (*SignoutOutput, error)
func (UnimplementedCognitoServer) StartRecovery ¶
func (UnimplementedCognitoServer) StartRecovery(context.Context, *StartRecoveryInput) (*StartRecoveryOutput, error)
func (UnimplementedCognitoServer) UpdateEmail ¶
func (UnimplementedCognitoServer) UpdateEmail(context.Context, *UpdateEmailInput) (*UpdateEmailOutput, error)
func (UnimplementedCognitoServer) UpdatePassword ¶
func (UnimplementedCognitoServer) UpdatePassword(context.Context, *UpdatePasswordInput) (*UpdatePasswordOutput, error)
func (UnimplementedCognitoServer) UpdatePicture ¶
func (UnimplementedCognitoServer) UpdatePicture(context.Context, *UpdatePictureInput) (*UpdatePictureOutput, error)
func (UnimplementedCognitoServer) UpdateProfile ¶
func (UnimplementedCognitoServer) UpdateProfile(context.Context, *UpdateProfileInput) (*UpdateProfileOutput, error)
func (UnimplementedCognitoServer) UpdateRoles ¶
func (UnimplementedCognitoServer) UpdateRoles(context.Context, *UpdateRolesInput) (*UpdateRolesOutput, error)
func (UnimplementedCognitoServer) VerifyEmail ¶
func (UnimplementedCognitoServer) VerifyEmail(context.Context, *VerifyEmailInput) (*VerifyEmailOutput, error)
type UnsafeCognitoServer ¶
type UnsafeCognitoServer interface {
// contains filtered or unexported methods
}
UnsafeCognitoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CognitoServer will result in compilation errors.
type UpdateEmailInput ¶
type UpdateEmailInput struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // new email address for currently logged in user // contains filtered or unexported fields }
func (*UpdateEmailInput) Descriptor
deprecated
func (*UpdateEmailInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEmailInput.ProtoReflect.Descriptor instead.
func (*UpdateEmailInput) GetEmail ¶
func (x *UpdateEmailInput) GetEmail() string
func (*UpdateEmailInput) ProtoMessage ¶
func (*UpdateEmailInput) ProtoMessage()
func (*UpdateEmailInput) ProtoReflect ¶
func (x *UpdateEmailInput) ProtoReflect() protoreflect.Message
func (*UpdateEmailInput) Reset ¶
func (x *UpdateEmailInput) Reset()
func (*UpdateEmailInput) String ¶
func (x *UpdateEmailInput) String() string
type UpdateEmailOutput ¶
type UpdateEmailOutput struct { // email confirmation hint is a string added to the email subject, so it's easier to find for user EmailConfirmationHint string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateEmailOutput) Descriptor
deprecated
func (*UpdateEmailOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEmailOutput.ProtoReflect.Descriptor instead.
func (*UpdateEmailOutput) GetEmailConfirmationHint ¶
func (x *UpdateEmailOutput) GetEmailConfirmationHint() string
func (*UpdateEmailOutput) ProtoMessage ¶
func (*UpdateEmailOutput) ProtoMessage()
func (*UpdateEmailOutput) ProtoReflect ¶
func (x *UpdateEmailOutput) ProtoReflect() protoreflect.Message
func (*UpdateEmailOutput) Reset ¶
func (x *UpdateEmailOutput) Reset()
func (*UpdateEmailOutput) String ¶
func (x *UpdateEmailOutput) String() string
type UpdatePasswordInput ¶
type UpdatePasswordInput struct { CurrentPassword string `protobuf:"bytes,1,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"` NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // contains filtered or unexported fields }
func (*UpdatePasswordInput) Descriptor
deprecated
func (*UpdatePasswordInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordInput.ProtoReflect.Descriptor instead.
func (*UpdatePasswordInput) GetCurrentPassword ¶
func (x *UpdatePasswordInput) GetCurrentPassword() string
func (*UpdatePasswordInput) GetNewPassword ¶
func (x *UpdatePasswordInput) GetNewPassword() string
func (*UpdatePasswordInput) ProtoMessage ¶
func (*UpdatePasswordInput) ProtoMessage()
func (*UpdatePasswordInput) ProtoReflect ¶
func (x *UpdatePasswordInput) ProtoReflect() protoreflect.Message
func (*UpdatePasswordInput) Reset ¶
func (x *UpdatePasswordInput) Reset()
func (*UpdatePasswordInput) String ¶
func (x *UpdatePasswordInput) String() string
type UpdatePasswordOutput ¶
type UpdatePasswordOutput struct {
// contains filtered or unexported fields
}
func (*UpdatePasswordOutput) Descriptor
deprecated
func (*UpdatePasswordOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordOutput.ProtoReflect.Descriptor instead.
func (*UpdatePasswordOutput) ProtoMessage ¶
func (*UpdatePasswordOutput) ProtoMessage()
func (*UpdatePasswordOutput) ProtoReflect ¶
func (x *UpdatePasswordOutput) ProtoReflect() protoreflect.Message
func (*UpdatePasswordOutput) Reset ¶
func (x *UpdatePasswordOutput) Reset()
func (*UpdatePasswordOutput) String ¶
func (x *UpdatePasswordOutput) String() string
type UpdatePictureInput ¶
type UpdatePictureInput struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` OffsetX uint32 `protobuf:"varint,10,opt,name=offset_x,json=offsetX,proto3" json:"offset_x,omitempty"` OffsetY uint32 `protobuf:"varint,11,opt,name=offset_y,json=offsetY,proto3" json:"offset_y,omitempty"` Size uint32 `protobuf:"varint,12,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*UpdatePictureInput) Descriptor
deprecated
func (*UpdatePictureInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePictureInput.ProtoReflect.Descriptor instead.
func (*UpdatePictureInput) GetData ¶
func (x *UpdatePictureInput) GetData() []byte
func (*UpdatePictureInput) GetFilename ¶
func (x *UpdatePictureInput) GetFilename() string
func (*UpdatePictureInput) GetOffsetX ¶
func (x *UpdatePictureInput) GetOffsetX() uint32
func (*UpdatePictureInput) GetOffsetY ¶
func (x *UpdatePictureInput) GetOffsetY() uint32
func (*UpdatePictureInput) GetSize ¶
func (x *UpdatePictureInput) GetSize() uint32
func (*UpdatePictureInput) ProtoMessage ¶
func (*UpdatePictureInput) ProtoMessage()
func (*UpdatePictureInput) ProtoReflect ¶
func (x *UpdatePictureInput) ProtoReflect() protoreflect.Message
func (*UpdatePictureInput) Reset ¶
func (x *UpdatePictureInput) Reset()
func (*UpdatePictureInput) String ¶
func (x *UpdatePictureInput) String() string
type UpdatePictureOutput ¶
type UpdatePictureOutput struct {
// contains filtered or unexported fields
}
func (*UpdatePictureOutput) Descriptor
deprecated
func (*UpdatePictureOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePictureOutput.ProtoReflect.Descriptor instead.
func (*UpdatePictureOutput) ProtoMessage ¶
func (*UpdatePictureOutput) ProtoMessage()
func (*UpdatePictureOutput) ProtoReflect ¶
func (x *UpdatePictureOutput) ProtoReflect() protoreflect.Message
func (*UpdatePictureOutput) Reset ¶
func (x *UpdatePictureOutput) Reset()
func (*UpdatePictureOutput) String ¶
func (x *UpdatePictureOutput) String() string
type UpdateProfileInput ¶
type UpdateProfileInput struct { // specify list of fields to update, if empty all fields are updated Patch []UpdateProfileInput_Patch `protobuf:"varint,1,rep,packed,name=patch,proto3,enum=eolymp.cognito.UpdateProfileInput_Patch" json:"patch,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` Company string `protobuf:"bytes,12,opt,name=company,proto3" json:"company,omitempty"` Occupation string `protobuf:"bytes,13,opt,name=occupation,proto3" json:"occupation,omitempty"` Country string `protobuf:"bytes,21,opt,name=country,proto3" json:"country,omitempty"` City string `protobuf:"bytes,22,opt,name=city,proto3" json:"city,omitempty"` Birthday string `protobuf:"bytes,33,opt,name=birthday,proto3" json:"birthday,omitempty"` Locale string `protobuf:"bytes,34,opt,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
func (*UpdateProfileInput) Descriptor
deprecated
func (*UpdateProfileInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileInput.ProtoReflect.Descriptor instead.
func (*UpdateProfileInput) GetBirthday ¶
func (x *UpdateProfileInput) GetBirthday() string
func (*UpdateProfileInput) GetCity ¶
func (x *UpdateProfileInput) GetCity() string
func (*UpdateProfileInput) GetCompany ¶
func (x *UpdateProfileInput) GetCompany() string
func (*UpdateProfileInput) GetCountry ¶
func (x *UpdateProfileInput) GetCountry() string
func (*UpdateProfileInput) GetEmail ¶
func (x *UpdateProfileInput) GetEmail() string
func (*UpdateProfileInput) GetLocale ¶
func (x *UpdateProfileInput) GetLocale() string
func (*UpdateProfileInput) GetName ¶
func (x *UpdateProfileInput) GetName() string
func (*UpdateProfileInput) GetOccupation ¶
func (x *UpdateProfileInput) GetOccupation() string
func (*UpdateProfileInput) GetPatch ¶
func (x *UpdateProfileInput) GetPatch() []UpdateProfileInput_Patch
func (*UpdateProfileInput) GetUsername ¶
func (x *UpdateProfileInput) GetUsername() string
func (*UpdateProfileInput) ProtoMessage ¶
func (*UpdateProfileInput) ProtoMessage()
func (*UpdateProfileInput) ProtoReflect ¶
func (x *UpdateProfileInput) ProtoReflect() protoreflect.Message
func (*UpdateProfileInput) Reset ¶
func (x *UpdateProfileInput) Reset()
func (*UpdateProfileInput) String ¶
func (x *UpdateProfileInput) String() string
type UpdateProfileInput_Patch ¶
type UpdateProfileInput_Patch int32
const ( UpdateProfileInput_USERNAME UpdateProfileInput_Patch = 0 UpdateProfileInput_EMAIL UpdateProfileInput_Patch = 1 UpdateProfileInput_NAME UpdateProfileInput_Patch = 2 UpdateProfileInput_COMPANY UpdateProfileInput_Patch = 3 UpdateProfileInput_OCCUPATION UpdateProfileInput_Patch = 4 UpdateProfileInput_COUNTRY UpdateProfileInput_Patch = 5 UpdateProfileInput_CITY UpdateProfileInput_Patch = 6 UpdateProfileInput_BIRTHDAY UpdateProfileInput_Patch = 7 UpdateProfileInput_LOCALE UpdateProfileInput_Patch = 8 )
func (UpdateProfileInput_Patch) Descriptor ¶
func (UpdateProfileInput_Patch) Descriptor() protoreflect.EnumDescriptor
func (UpdateProfileInput_Patch) Enum ¶
func (x UpdateProfileInput_Patch) Enum() *UpdateProfileInput_Patch
func (UpdateProfileInput_Patch) EnumDescriptor
deprecated
func (UpdateProfileInput_Patch) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateProfileInput_Patch.Descriptor instead.
func (UpdateProfileInput_Patch) Number ¶
func (x UpdateProfileInput_Patch) Number() protoreflect.EnumNumber
func (UpdateProfileInput_Patch) String ¶
func (x UpdateProfileInput_Patch) String() string
func (UpdateProfileInput_Patch) Type ¶
func (UpdateProfileInput_Patch) Type() protoreflect.EnumType
type UpdateProfileOutput ¶
type UpdateProfileOutput struct { EmailConfirmationHint string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateProfileOutput) Descriptor
deprecated
func (*UpdateProfileOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileOutput.ProtoReflect.Descriptor instead.
func (*UpdateProfileOutput) GetEmailConfirmationHint ¶
func (x *UpdateProfileOutput) GetEmailConfirmationHint() string
func (*UpdateProfileOutput) ProtoMessage ¶
func (*UpdateProfileOutput) ProtoMessage()
func (*UpdateProfileOutput) ProtoReflect ¶
func (x *UpdateProfileOutput) ProtoReflect() protoreflect.Message
func (*UpdateProfileOutput) Reset ¶
func (x *UpdateProfileOutput) Reset()
func (*UpdateProfileOutput) String ¶
func (x *UpdateProfileOutput) String() string
type UpdateRolesInput ¶
type UpdateRolesInput struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*UpdateRolesInput) Descriptor
deprecated
func (*UpdateRolesInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRolesInput.ProtoReflect.Descriptor instead.
func (*UpdateRolesInput) GetRoles ¶
func (x *UpdateRolesInput) GetRoles() []string
func (*UpdateRolesInput) GetUserId ¶
func (x *UpdateRolesInput) GetUserId() string
func (*UpdateRolesInput) ProtoMessage ¶
func (*UpdateRolesInput) ProtoMessage()
func (*UpdateRolesInput) ProtoReflect ¶
func (x *UpdateRolesInput) ProtoReflect() protoreflect.Message
func (*UpdateRolesInput) Reset ¶
func (x *UpdateRolesInput) Reset()
func (*UpdateRolesInput) String ¶
func (x *UpdateRolesInput) String() string
type UpdateRolesOutput ¶
type UpdateRolesOutput struct {
// contains filtered or unexported fields
}
func (*UpdateRolesOutput) Descriptor
deprecated
func (*UpdateRolesOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRolesOutput.ProtoReflect.Descriptor instead.
func (*UpdateRolesOutput) ProtoMessage ¶
func (*UpdateRolesOutput) ProtoMessage()
func (*UpdateRolesOutput) ProtoReflect ¶
func (x *UpdateRolesOutput) ProtoReflect() protoreflect.Message
func (*UpdateRolesOutput) Reset ¶
func (x *UpdateRolesOutput) Reset()
func (*UpdateRolesOutput) String ¶
func (x *UpdateRolesOutput) String() string
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // Username (handler) Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // Email address Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"` // Account is active, user can login Rank uint32 `protobuf:"varint,41,opt,name=rank,proto3" json:"rank,omitempty"` // Rank RankTrend User_RankTrend `protobuf:"varint,42,opt,name=rank_trend,json=rankTrend,proto3,enum=eolymp.cognito.User_RankTrend" json:"rank_trend,omitempty"` // Rank trend (up or down) Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // Full name Picture string `protobuf:"bytes,11,opt,name=picture,proto3" json:"picture,omitempty"` // Profile picture Company string `protobuf:"bytes,12,opt,name=company,proto3" json:"company,omitempty"` // Company Occupation string `protobuf:"bytes,13,opt,name=occupation,proto3" json:"occupation,omitempty"` // Occupation Country string `protobuf:"bytes,21,opt,name=country,proto3" json:"country,omitempty"` // Country code City string `protobuf:"bytes,22,opt,name=city,proto3" json:"city,omitempty"` // City EmailStatus string `protobuf:"bytes,32,opt,name=email_status,json=emailStatus,proto3" json:"email_status,omitempty"` // Email confirmation status Birthday string `protobuf:"bytes,33,opt,name=birthday,proto3" json:"birthday,omitempty"` // Birthday RegisteredOn *timestamppb.Timestamp `protobuf:"bytes,34,opt,name=registered_on,json=registeredOn,proto3" json:"registered_on,omitempty"` // Exact time when user registered LastActivity *timestamppb.Timestamp `protobuf:"bytes,35,opt,name=last_activity,json=lastActivity,proto3" json:"last_activity,omitempty"` // Exact time when user was last active UsernameChangedOn *timestamppb.Timestamp `protobuf:"bytes,36,opt,name=username_changed_on,json=usernameChangedOn,proto3" json:"username_changed_on,omitempty"` // Exact time when user has changed username last time PasswordChangedOn *timestamppb.Timestamp `protobuf:"bytes,37,opt,name=password_changed_on,json=passwordChangedOn,proto3" json:"password_changed_on,omitempty"` // Exact time when user has changed password last time Locale string `protobuf:"bytes,40,opt,name=locale,proto3" json:"locale,omitempty"` // Locale // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetBirthday ¶
func (*User) GetCompany ¶
func (*User) GetCountry ¶
func (*User) GetEmailStatus ¶
func (*User) GetLastActivity ¶
func (x *User) GetLastActivity() *timestamppb.Timestamp
func (*User) GetOccupation ¶
func (*User) GetPasswordChangedOn ¶
func (x *User) GetPasswordChangedOn() *timestamppb.Timestamp
func (*User) GetPicture ¶
func (*User) GetRankTrend ¶
func (x *User) GetRankTrend() User_RankTrend
func (*User) GetRegisteredOn ¶
func (x *User) GetRegisteredOn() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) GetUsernameChangedOn ¶
func (x *User) GetUsernameChangedOn() *timestamppb.Timestamp
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserChangedEvent ¶
type UserChangedEvent struct { Before *User `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` After *User `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` // contains filtered or unexported fields }
func (*UserChangedEvent) Descriptor
deprecated
func (*UserChangedEvent) Descriptor() ([]byte, []int)
Deprecated: Use UserChangedEvent.ProtoReflect.Descriptor instead.
func (*UserChangedEvent) GetAfter ¶
func (x *UserChangedEvent) GetAfter() *User
func (*UserChangedEvent) GetBefore ¶
func (x *UserChangedEvent) GetBefore() *User
func (*UserChangedEvent) ProtoMessage ¶
func (*UserChangedEvent) ProtoMessage()
func (*UserChangedEvent) ProtoReflect ¶
func (x *UserChangedEvent) ProtoReflect() protoreflect.Message
func (*UserChangedEvent) Reset ¶
func (x *UserChangedEvent) Reset()
func (*UserChangedEvent) String ¶
func (x *UserChangedEvent) String() string
type User_RankTrend ¶
type User_RankTrend int32
const ( User_NONE User_RankTrend = 0 User_UP User_RankTrend = 1 User_DOWN User_RankTrend = 2 )
func (User_RankTrend) Descriptor ¶
func (User_RankTrend) Descriptor() protoreflect.EnumDescriptor
func (User_RankTrend) Enum ¶
func (x User_RankTrend) Enum() *User_RankTrend
func (User_RankTrend) EnumDescriptor
deprecated
func (User_RankTrend) EnumDescriptor() ([]byte, []int)
Deprecated: Use User_RankTrend.Descriptor instead.
func (User_RankTrend) Number ¶
func (x User_RankTrend) Number() protoreflect.EnumNumber
func (User_RankTrend) String ¶
func (x User_RankTrend) String() string
func (User_RankTrend) Type ¶
func (User_RankTrend) Type() protoreflect.EnumType
type VerifyEmailInput ¶
type VerifyEmailInput struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // secret from the email sent during CreateUser or UpdateEmail // contains filtered or unexported fields }
func (*VerifyEmailInput) Descriptor
deprecated
func (*VerifyEmailInput) Descriptor() ([]byte, []int)
Deprecated: Use VerifyEmailInput.ProtoReflect.Descriptor instead.
func (*VerifyEmailInput) GetSecret ¶
func (x *VerifyEmailInput) GetSecret() string
func (*VerifyEmailInput) GetUserId ¶
func (x *VerifyEmailInput) GetUserId() string
func (*VerifyEmailInput) ProtoMessage ¶
func (*VerifyEmailInput) ProtoMessage()
func (*VerifyEmailInput) ProtoReflect ¶
func (x *VerifyEmailInput) ProtoReflect() protoreflect.Message
func (*VerifyEmailInput) Reset ¶
func (x *VerifyEmailInput) Reset()
func (*VerifyEmailInput) String ¶
func (x *VerifyEmailInput) String() string
type VerifyEmailOutput ¶
type VerifyEmailOutput struct {
// contains filtered or unexported fields
}
func (*VerifyEmailOutput) Descriptor
deprecated
func (*VerifyEmailOutput) Descriptor() ([]byte, []int)
Deprecated: Use VerifyEmailOutput.ProtoReflect.Descriptor instead.
func (*VerifyEmailOutput) ProtoMessage ¶
func (*VerifyEmailOutput) ProtoMessage()
func (*VerifyEmailOutput) ProtoReflect ¶
func (x *VerifyEmailOutput) ProtoReflect() protoreflect.Message
func (*VerifyEmailOutput) Reset ¶
func (x *VerifyEmailOutput) Reset()
func (*VerifyEmailOutput) String ¶
func (x *VerifyEmailOutput) String() string