Documentation ¶
Index ¶
- func RegisterIdentityServiceServer(s *grpc.Server, srv IdentityServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetApp() string
- func (m *Account) GetCreatedAt() int32
- func (m *Account) GetExternalID() string
- func (m *Account) GetFailedPasswordAttempt() int32
- func (m *Account) GetFirstName() string
- func (m *Account) GetID() string
- func (m *Account) GetIsLockedOut() bool
- func (m *Account) GetLastLoginAt() int32
- func (m *Account) GetLastName() string
- func (m *Account) GetPasswordHash() string
- func (m *Account) GetRoles() []string
- func (m *Account) GetUpdatedAt() int32
- func (m *Account) GetUsername() string
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) String() string
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type AccountByTokenRequest
- func (*AccountByTokenRequest) Descriptor() ([]byte, []int)
- func (m *AccountByTokenRequest) GetToken() string
- func (*AccountByTokenRequest) ProtoMessage()
- func (m *AccountByTokenRequest) Reset()
- func (m *AccountByTokenRequest) String() string
- func (m *AccountByTokenRequest) XXX_DiscardUnknown()
- func (m *AccountByTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountByTokenRequest) XXX_Merge(src proto.Message)
- func (m *AccountByTokenRequest) XXX_Size() int
- func (m *AccountByTokenRequest) XXX_Unmarshal(b []byte) error
- type EmptyReply
- func (*EmptyReply) Descriptor() ([]byte, []int)
- func (*EmptyReply) ProtoMessage()
- func (m *EmptyReply) Reset()
- func (m *EmptyReply) String() string
- func (m *EmptyReply) XXX_DiscardUnknown()
- func (m *EmptyReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EmptyReply) XXX_Merge(src proto.Message)
- func (m *EmptyReply) XXX_Size() int
- func (m *EmptyReply) XXX_Unmarshal(b []byte) error
- type EmptyRequest
- func (*EmptyRequest) Descriptor() ([]byte, []int)
- func (*EmptyRequest) ProtoMessage()
- func (m *EmptyRequest) Reset()
- func (m *EmptyRequest) String() string
- func (m *EmptyRequest) XXX_DiscardUnknown()
- func (m *EmptyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EmptyRequest) XXX_Merge(src proto.Message)
- func (m *EmptyRequest) XXX_Size() int
- func (m *EmptyRequest) XXX_Unmarshal(b []byte) error
- type IdentityServiceClient
- type IdentityServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterIdentityServiceServer ¶
func RegisterIdentityServiceServer(s *grpc.Server, srv IdentityServiceServer)
Types ¶
type Account ¶
type Account struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` App string `protobuf:"bytes,2,opt,name=App,proto3" json:"App,omitempty"` Username string `protobuf:"bytes,3,opt,name=Username,proto3" json:"Username,omitempty"` PasswordHash string `protobuf:"bytes,4,opt,name=PasswordHash,proto3" json:"PasswordHash,omitempty"` FirstName string `protobuf:"bytes,5,opt,name=FirstName,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,6,opt,name=LastName,proto3" json:"LastName,omitempty"` ExternalID string `protobuf:"bytes,7,opt,name=ExternalID,proto3" json:"ExternalID,omitempty"` IsLockedOut bool `protobuf:"varint,8,opt,name=IsLockedOut,proto3" json:"IsLockedOut,omitempty"` FailedPasswordAttempt int32 `protobuf:"varint,9,opt,name=FailedPasswordAttempt,proto3" json:"FailedPasswordAttempt,omitempty"` Roles []string `protobuf:"bytes,10,rep,name=Roles,proto3" json:"Roles,omitempty"` LastLoginAt int32 `protobuf:"varint,11,opt,name=LastLoginAt,proto3" json:"LastLoginAt,omitempty"` CreatedAt int32 `protobuf:"varint,12,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` UpdatedAt int32 `protobuf:"varint,13,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Account) Descriptor ¶
func (*Account) GetCreatedAt ¶
func (*Account) GetExternalID ¶
func (*Account) GetFailedPasswordAttempt ¶
func (*Account) GetFirstName ¶
func (*Account) GetIsLockedOut ¶
func (*Account) GetLastLoginAt ¶
func (*Account) GetLastName ¶
func (*Account) GetPasswordHash ¶
func (*Account) GetUpdatedAt ¶
func (*Account) GetUsername ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type AccountByTokenRequest ¶
type AccountByTokenRequest struct { Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccountByTokenRequest) Descriptor ¶
func (*AccountByTokenRequest) Descriptor() ([]byte, []int)
func (*AccountByTokenRequest) GetToken ¶
func (m *AccountByTokenRequest) GetToken() string
func (*AccountByTokenRequest) ProtoMessage ¶
func (*AccountByTokenRequest) ProtoMessage()
func (*AccountByTokenRequest) Reset ¶
func (m *AccountByTokenRequest) Reset()
func (*AccountByTokenRequest) String ¶
func (m *AccountByTokenRequest) String() string
func (*AccountByTokenRequest) XXX_DiscardUnknown ¶
func (m *AccountByTokenRequest) XXX_DiscardUnknown()
func (*AccountByTokenRequest) XXX_Marshal ¶
func (m *AccountByTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountByTokenRequest) XXX_Merge ¶
func (dst *AccountByTokenRequest) XXX_Merge(src proto.Message)
func (*AccountByTokenRequest) XXX_Size ¶
func (m *AccountByTokenRequest) XXX_Size() int
func (*AccountByTokenRequest) XXX_Unmarshal ¶
func (m *AccountByTokenRequest) XXX_Unmarshal(b []byte) error
type EmptyReply ¶
type EmptyReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmptyReply) Descriptor ¶
func (*EmptyReply) Descriptor() ([]byte, []int)
func (*EmptyReply) ProtoMessage ¶
func (*EmptyReply) ProtoMessage()
func (*EmptyReply) Reset ¶
func (m *EmptyReply) Reset()
func (*EmptyReply) String ¶
func (m *EmptyReply) String() string
func (*EmptyReply) XXX_DiscardUnknown ¶
func (m *EmptyReply) XXX_DiscardUnknown()
func (*EmptyReply) XXX_Marshal ¶
func (m *EmptyReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyReply) XXX_Merge ¶
func (dst *EmptyReply) XXX_Merge(src proto.Message)
func (*EmptyReply) XXX_Size ¶
func (m *EmptyReply) XXX_Size() int
func (*EmptyReply) XXX_Unmarshal ¶
func (m *EmptyReply) XXX_Unmarshal(b []byte) error
type EmptyRequest ¶
type EmptyRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmptyRequest) Descriptor ¶
func (*EmptyRequest) Descriptor() ([]byte, []int)
func (*EmptyRequest) ProtoMessage ¶
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) Reset ¶
func (m *EmptyRequest) Reset()
func (*EmptyRequest) String ¶
func (m *EmptyRequest) String() string
func (*EmptyRequest) XXX_DiscardUnknown ¶
func (m *EmptyRequest) XXX_DiscardUnknown()
func (*EmptyRequest) XXX_Marshal ¶
func (m *EmptyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyRequest) XXX_Merge ¶
func (dst *EmptyRequest) XXX_Merge(src proto.Message)
func (*EmptyRequest) XXX_Size ¶
func (m *EmptyRequest) XXX_Size() int
func (*EmptyRequest) XXX_Unmarshal ¶
func (m *EmptyRequest) XXX_Unmarshal(b []byte) error
type IdentityServiceClient ¶
type IdentityServiceClient interface {
AccountByToken(ctx context.Context, in *AccountByTokenRequest, opts ...grpc.CallOption) (*Account, error)
}
IdentityServiceClient is the client API for IdentityService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIdentityServiceClient ¶
func NewIdentityServiceClient(cc *grpc.ClientConn) IdentityServiceClient
type IdentityServiceServer ¶
type IdentityServiceServer interface {
AccountByToken(context.Context, *AccountByTokenRequest) (*Account, error)
}
IdentityServiceServer is the server API for IdentityService service.
Click to show internal directories.
Click to hide internal directories.