Documentation ¶
Index ¶
- Variables
- func RegisterAuthorizationServiceServer(s *grpc.Server, srv AuthorizationServiceServer)
- type AddDeviceRequest
- func (*AddDeviceRequest) Descriptor() ([]byte, []int)
- func (m *AddDeviceRequest) GetDeviceId() string
- func (m *AddDeviceRequest) GetUserId() string
- func (m *AddDeviceRequest) Marshal() (dAtA []byte, err error)
- func (m *AddDeviceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AddDeviceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddDeviceRequest) ProtoMessage()
- func (m *AddDeviceRequest) Reset()
- func (m *AddDeviceRequest) Size() (n int)
- func (m *AddDeviceRequest) String() string
- func (m *AddDeviceRequest) Unmarshal(dAtA []byte) error
- func (m *AddDeviceRequest) XXX_DiscardUnknown()
- func (m *AddDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddDeviceRequest) XXX_Merge(src proto.Message)
- func (m *AddDeviceRequest) XXX_Size() int
- func (m *AddDeviceRequest) XXX_Unmarshal(b []byte) error
- type AddDeviceResponse
- func (*AddDeviceResponse) Descriptor() ([]byte, []int)
- func (m *AddDeviceResponse) Marshal() (dAtA []byte, err error)
- func (m *AddDeviceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AddDeviceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddDeviceResponse) ProtoMessage()
- func (m *AddDeviceResponse) Reset()
- func (m *AddDeviceResponse) Size() (n int)
- func (m *AddDeviceResponse) String() string
- func (m *AddDeviceResponse) Unmarshal(dAtA []byte) error
- func (m *AddDeviceResponse) XXX_DiscardUnknown()
- func (m *AddDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddDeviceResponse) XXX_Merge(src proto.Message)
- func (m *AddDeviceResponse) XXX_Size() int
- func (m *AddDeviceResponse) XXX_Unmarshal(b []byte) error
- type AuthorizationServiceClient
- type AuthorizationServiceServer
- type AuthorizationService_GetUserDevicesClient
- type AuthorizationService_GetUserDevicesServer
- type GetUserDevicesRequest
- func (*GetUserDevicesRequest) Descriptor() ([]byte, []int)
- func (m *GetUserDevicesRequest) GetDeviceIdsFilter() []string
- func (m *GetUserDevicesRequest) GetUserIdsFilter() []string
- func (m *GetUserDevicesRequest) Marshal() (dAtA []byte, err error)
- func (m *GetUserDevicesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetUserDevicesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetUserDevicesRequest) ProtoMessage()
- func (m *GetUserDevicesRequest) Reset()
- func (m *GetUserDevicesRequest) Size() (n int)
- func (m *GetUserDevicesRequest) String() string
- func (m *GetUserDevicesRequest) Unmarshal(dAtA []byte) error
- func (m *GetUserDevicesRequest) XXX_DiscardUnknown()
- func (m *GetUserDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserDevicesRequest) XXX_Merge(src proto.Message)
- func (m *GetUserDevicesRequest) XXX_Size() int
- func (m *GetUserDevicesRequest) XXX_Unmarshal(b []byte) error
- type RefreshTokenRequest
- func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
- func (m *RefreshTokenRequest) GetDeviceId() string
- func (m *RefreshTokenRequest) GetRefreshToken() string
- func (m *RefreshTokenRequest) GetUserId() string
- func (m *RefreshTokenRequest) Marshal() (dAtA []byte, err error)
- func (m *RefreshTokenRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RefreshTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RefreshTokenRequest) ProtoMessage()
- func (m *RefreshTokenRequest) Reset()
- func (m *RefreshTokenRequest) Size() (n int)
- func (m *RefreshTokenRequest) String() string
- func (m *RefreshTokenRequest) Unmarshal(dAtA []byte) error
- func (m *RefreshTokenRequest) XXX_DiscardUnknown()
- func (m *RefreshTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RefreshTokenRequest) XXX_Merge(src proto.Message)
- func (m *RefreshTokenRequest) XXX_Size() int
- func (m *RefreshTokenRequest) XXX_Unmarshal(b []byte) error
- type RefreshTokenResponse
- func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
- func (m *RefreshTokenResponse) GetAccessToken() string
- func (m *RefreshTokenResponse) GetExpiresIn() int64
- func (m *RefreshTokenResponse) GetRefreshToken() string
- func (m *RefreshTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *RefreshTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RefreshTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RefreshTokenResponse) ProtoMessage()
- func (m *RefreshTokenResponse) Reset()
- func (m *RefreshTokenResponse) Size() (n int)
- func (m *RefreshTokenResponse) String() string
- func (m *RefreshTokenResponse) Unmarshal(dAtA []byte) error
- func (m *RefreshTokenResponse) XXX_DiscardUnknown()
- func (m *RefreshTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RefreshTokenResponse) XXX_Merge(src proto.Message)
- func (m *RefreshTokenResponse) XXX_Size() int
- func (m *RefreshTokenResponse) XXX_Unmarshal(b []byte) error
- type RemoveDeviceRequest
- func (*RemoveDeviceRequest) Descriptor() ([]byte, []int)
- func (m *RemoveDeviceRequest) GetDeviceId() string
- func (m *RemoveDeviceRequest) GetUserId() string
- func (m *RemoveDeviceRequest) Marshal() (dAtA []byte, err error)
- func (m *RemoveDeviceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveDeviceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoveDeviceRequest) ProtoMessage()
- func (m *RemoveDeviceRequest) Reset()
- func (m *RemoveDeviceRequest) Size() (n int)
- func (m *RemoveDeviceRequest) String() string
- func (m *RemoveDeviceRequest) Unmarshal(dAtA []byte) error
- func (m *RemoveDeviceRequest) XXX_DiscardUnknown()
- func (m *RemoveDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveDeviceRequest) XXX_Merge(src proto.Message)
- func (m *RemoveDeviceRequest) XXX_Size() int
- func (m *RemoveDeviceRequest) XXX_Unmarshal(b []byte) error
- type RemoveDeviceResponse
- func (*RemoveDeviceResponse) Descriptor() ([]byte, []int)
- func (m *RemoveDeviceResponse) Marshal() (dAtA []byte, err error)
- func (m *RemoveDeviceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveDeviceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoveDeviceResponse) ProtoMessage()
- func (m *RemoveDeviceResponse) Reset()
- func (m *RemoveDeviceResponse) Size() (n int)
- func (m *RemoveDeviceResponse) String() string
- func (m *RemoveDeviceResponse) Unmarshal(dAtA []byte) error
- func (m *RemoveDeviceResponse) XXX_DiscardUnknown()
- func (m *RemoveDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveDeviceResponse) XXX_Merge(src proto.Message)
- func (m *RemoveDeviceResponse) XXX_Size() int
- func (m *RemoveDeviceResponse) XXX_Unmarshal(b []byte) error
- type SignInRequest
- func (*SignInRequest) Descriptor() ([]byte, []int)
- func (m *SignInRequest) GetAccessToken() string
- func (m *SignInRequest) GetDeviceId() string
- func (m *SignInRequest) GetUserId() string
- func (m *SignInRequest) Marshal() (dAtA []byte, err error)
- func (m *SignInRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignInRequest) ProtoMessage()
- func (m *SignInRequest) Reset()
- func (m *SignInRequest) Size() (n int)
- func (m *SignInRequest) String() string
- func (m *SignInRequest) Unmarshal(dAtA []byte) error
- func (m *SignInRequest) XXX_DiscardUnknown()
- func (m *SignInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignInRequest) XXX_Merge(src proto.Message)
- func (m *SignInRequest) XXX_Size() int
- func (m *SignInRequest) XXX_Unmarshal(b []byte) error
- type SignInResponse
- func (*SignInResponse) Descriptor() ([]byte, []int)
- func (m *SignInResponse) GetExpiresIn() int64
- func (m *SignInResponse) Marshal() (dAtA []byte, err error)
- func (m *SignInResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SignInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignInResponse) ProtoMessage()
- func (m *SignInResponse) Reset()
- func (m *SignInResponse) Size() (n int)
- func (m *SignInResponse) String() string
- func (m *SignInResponse) Unmarshal(dAtA []byte) error
- func (m *SignInResponse) XXX_DiscardUnknown()
- func (m *SignInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignInResponse) XXX_Merge(src proto.Message)
- func (m *SignInResponse) XXX_Size() int
- func (m *SignInResponse) XXX_Unmarshal(b []byte) error
- type SignOffRequest
- func (*SignOffRequest) Descriptor() ([]byte, []int)
- func (m *SignOffRequest) GetAccessToken() string
- func (m *SignOffRequest) GetDeviceId() string
- func (m *SignOffRequest) GetUserId() string
- func (m *SignOffRequest) Marshal() (dAtA []byte, err error)
- func (m *SignOffRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignOffRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignOffRequest) ProtoMessage()
- func (m *SignOffRequest) Reset()
- func (m *SignOffRequest) Size() (n int)
- func (m *SignOffRequest) String() string
- func (m *SignOffRequest) Unmarshal(dAtA []byte) error
- func (m *SignOffRequest) XXX_DiscardUnknown()
- func (m *SignOffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignOffRequest) XXX_Merge(src proto.Message)
- func (m *SignOffRequest) XXX_Size() int
- func (m *SignOffRequest) XXX_Unmarshal(b []byte) error
- type SignOffResponse
- func (*SignOffResponse) Descriptor() ([]byte, []int)
- func (m *SignOffResponse) Marshal() (dAtA []byte, err error)
- func (m *SignOffResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SignOffResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignOffResponse) ProtoMessage()
- func (m *SignOffResponse) Reset()
- func (m *SignOffResponse) Size() (n int)
- func (m *SignOffResponse) String() string
- func (m *SignOffResponse) Unmarshal(dAtA []byte) error
- func (m *SignOffResponse) XXX_DiscardUnknown()
- func (m *SignOffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignOffResponse) XXX_Merge(src proto.Message)
- func (m *SignOffResponse) XXX_Size() int
- func (m *SignOffResponse) XXX_Unmarshal(b []byte) error
- type SignOutRequest
- func (*SignOutRequest) Descriptor() ([]byte, []int)
- func (m *SignOutRequest) GetAccessToken() string
- func (m *SignOutRequest) GetCorrelationId() string
- func (m *SignOutRequest) GetDeviceId() string
- func (m *SignOutRequest) GetUserId() string
- func (m *SignOutRequest) Marshal() (dAtA []byte, err error)
- func (m *SignOutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignOutRequest) ProtoMessage()
- func (m *SignOutRequest) Reset()
- func (m *SignOutRequest) Size() (n int)
- func (m *SignOutRequest) String() string
- func (m *SignOutRequest) Unmarshal(dAtA []byte) error
- func (m *SignOutRequest) XXX_DiscardUnknown()
- func (m *SignOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignOutRequest) XXX_Merge(src proto.Message)
- func (m *SignOutRequest) XXX_Size() int
- func (m *SignOutRequest) XXX_Unmarshal(b []byte) error
- type SignOutResponse
- func (*SignOutResponse) Descriptor() ([]byte, []int)
- func (m *SignOutResponse) Marshal() (dAtA []byte, err error)
- func (m *SignOutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SignOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignOutResponse) ProtoMessage()
- func (m *SignOutResponse) Reset()
- func (m *SignOutResponse) Size() (n int)
- func (m *SignOutResponse) String() string
- func (m *SignOutResponse) Unmarshal(dAtA []byte) error
- func (m *SignOutResponse) XXX_DiscardUnknown()
- func (m *SignOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignOutResponse) XXX_Merge(src proto.Message)
- func (m *SignOutResponse) XXX_Size() int
- func (m *SignOutResponse) XXX_Unmarshal(b []byte) error
- type SignUpRequest
- func (*SignUpRequest) Descriptor() ([]byte, []int)
- func (m *SignUpRequest) GetAuthorizationCode() string
- func (m *SignUpRequest) GetAuthorizationProvider() string
- func (m *SignUpRequest) GetDeviceId() string
- func (m *SignUpRequest) Marshal() (dAtA []byte, err error)
- func (m *SignUpRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignUpRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignUpRequest) ProtoMessage()
- func (m *SignUpRequest) Reset()
- func (m *SignUpRequest) Size() (n int)
- func (m *SignUpRequest) String() string
- func (m *SignUpRequest) Unmarshal(dAtA []byte) error
- func (m *SignUpRequest) XXX_DiscardUnknown()
- func (m *SignUpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignUpRequest) XXX_Merge(src proto.Message)
- func (m *SignUpRequest) XXX_Size() int
- func (m *SignUpRequest) XXX_Unmarshal(b []byte) error
- type SignUpResponse
- func (*SignUpResponse) Descriptor() ([]byte, []int)
- func (m *SignUpResponse) GetAccessToken() string
- func (m *SignUpResponse) GetExpiresIn() int64
- func (m *SignUpResponse) GetRedirectUri() string
- func (m *SignUpResponse) GetRefreshToken() string
- func (m *SignUpResponse) GetUserId() string
- func (m *SignUpResponse) Marshal() (dAtA []byte, err error)
- func (m *SignUpResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SignUpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignUpResponse) ProtoMessage()
- func (m *SignUpResponse) Reset()
- func (m *SignUpResponse) Size() (n int)
- func (m *SignUpResponse) String() string
- func (m *SignUpResponse) Unmarshal(dAtA []byte) error
- func (m *SignUpResponse) XXX_DiscardUnknown()
- func (m *SignUpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignUpResponse) XXX_Merge(src proto.Message)
- func (m *SignUpResponse) XXX_Size() int
- func (m *SignUpResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedAuthorizationServiceServer
- func (*UnimplementedAuthorizationServiceServer) AddDevice(ctx context.Context, req *AddDeviceRequest) (*AddDeviceResponse, error)
- func (*UnimplementedAuthorizationServiceServer) GetUserDevices(req *GetUserDevicesRequest, srv AuthorizationService_GetUserDevicesServer) error
- func (*UnimplementedAuthorizationServiceServer) RefreshToken(ctx context.Context, req *RefreshTokenRequest) (*RefreshTokenResponse, error)
- func (*UnimplementedAuthorizationServiceServer) RemoveDevice(ctx context.Context, req *RemoveDeviceRequest) (*RemoveDeviceResponse, error)
- func (*UnimplementedAuthorizationServiceServer) SignIn(ctx context.Context, req *SignInRequest) (*SignInResponse, error)
- func (*UnimplementedAuthorizationServiceServer) SignOff(ctx context.Context, req *SignOffRequest) (*SignOffResponse, error)
- func (*UnimplementedAuthorizationServiceServer) SignOut(ctx context.Context, req *SignOutRequest) (*SignOutResponse, error)
- func (*UnimplementedAuthorizationServiceServer) SignUp(ctx context.Context, req *SignUpRequest) (*SignUpResponse, error)
- type UserDevice
- func (*UserDevice) Descriptor() ([]byte, []int)
- func (m *UserDevice) GetDeviceId() string
- func (m *UserDevice) GetUserId() string
- func (m *UserDevice) Marshal() (dAtA []byte, err error)
- func (m *UserDevice) MarshalTo(dAtA []byte) (int, error)
- func (m *UserDevice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserDevice) ProtoMessage()
- func (m *UserDevice) Reset()
- func (m *UserDevice) Size() (n int)
- func (m *UserDevice) String() string
- func (m *UserDevice) Unmarshal(dAtA []byte) error
- func (m *UserDevice) XXX_DiscardUnknown()
- func (m *UserDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserDevice) XXX_Merge(src proto.Message)
- func (m *UserDevice) XXX_Size() int
- func (m *UserDevice) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterAuthorizationServiceServer ¶
func RegisterAuthorizationServiceServer(s *grpc.Server, srv AuthorizationServiceServer)
Types ¶
type AddDeviceRequest ¶
type AddDeviceRequest struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` }
func (*AddDeviceRequest) Descriptor ¶
func (*AddDeviceRequest) Descriptor() ([]byte, []int)
func (*AddDeviceRequest) GetDeviceId ¶
func (m *AddDeviceRequest) GetDeviceId() string
func (*AddDeviceRequest) GetUserId ¶
func (m *AddDeviceRequest) GetUserId() string
func (*AddDeviceRequest) Marshal ¶
func (m *AddDeviceRequest) Marshal() (dAtA []byte, err error)
func (*AddDeviceRequest) MarshalToSizedBuffer ¶
func (m *AddDeviceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddDeviceRequest) ProtoMessage ¶
func (*AddDeviceRequest) ProtoMessage()
func (*AddDeviceRequest) Reset ¶
func (m *AddDeviceRequest) Reset()
func (*AddDeviceRequest) Size ¶
func (m *AddDeviceRequest) Size() (n int)
func (*AddDeviceRequest) String ¶
func (m *AddDeviceRequest) String() string
func (*AddDeviceRequest) Unmarshal ¶
func (m *AddDeviceRequest) Unmarshal(dAtA []byte) error
func (*AddDeviceRequest) XXX_DiscardUnknown ¶
func (m *AddDeviceRequest) XXX_DiscardUnknown()
func (*AddDeviceRequest) XXX_Marshal ¶
func (m *AddDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddDeviceRequest) XXX_Merge ¶
func (m *AddDeviceRequest) XXX_Merge(src proto.Message)
func (*AddDeviceRequest) XXX_Size ¶
func (m *AddDeviceRequest) XXX_Size() int
func (*AddDeviceRequest) XXX_Unmarshal ¶
func (m *AddDeviceRequest) XXX_Unmarshal(b []byte) error
type AddDeviceResponse ¶
type AddDeviceResponse struct { }
func (*AddDeviceResponse) Descriptor ¶
func (*AddDeviceResponse) Descriptor() ([]byte, []int)
func (*AddDeviceResponse) Marshal ¶
func (m *AddDeviceResponse) Marshal() (dAtA []byte, err error)
func (*AddDeviceResponse) MarshalTo ¶
func (m *AddDeviceResponse) MarshalTo(dAtA []byte) (int, error)
func (*AddDeviceResponse) MarshalToSizedBuffer ¶
func (m *AddDeviceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddDeviceResponse) ProtoMessage ¶
func (*AddDeviceResponse) ProtoMessage()
func (*AddDeviceResponse) Reset ¶
func (m *AddDeviceResponse) Reset()
func (*AddDeviceResponse) Size ¶
func (m *AddDeviceResponse) Size() (n int)
func (*AddDeviceResponse) String ¶
func (m *AddDeviceResponse) String() string
func (*AddDeviceResponse) Unmarshal ¶
func (m *AddDeviceResponse) Unmarshal(dAtA []byte) error
func (*AddDeviceResponse) XXX_DiscardUnknown ¶
func (m *AddDeviceResponse) XXX_DiscardUnknown()
func (*AddDeviceResponse) XXX_Marshal ¶
func (m *AddDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddDeviceResponse) XXX_Merge ¶
func (m *AddDeviceResponse) XXX_Merge(src proto.Message)
func (*AddDeviceResponse) XXX_Size ¶
func (m *AddDeviceResponse) XXX_Size() int
func (*AddDeviceResponse) XXX_Unmarshal ¶
func (m *AddDeviceResponse) XXX_Unmarshal(b []byte) error
type AuthorizationServiceClient ¶
type AuthorizationServiceClient interface { SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*SignUpResponse, error) SignOff(ctx context.Context, in *SignOffRequest, opts ...grpc.CallOption) (*SignOffResponse, error) SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error) SignOut(ctx context.Context, in *SignOutRequest, opts ...grpc.CallOption) (*SignOutResponse, error) RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error) GetUserDevices(ctx context.Context, in *GetUserDevicesRequest, opts ...grpc.CallOption) (AuthorizationService_GetUserDevicesClient, error) AddDevice(ctx context.Context, in *AddDeviceRequest, opts ...grpc.CallOption) (*AddDeviceResponse, error) RemoveDevice(ctx context.Context, in *RemoveDeviceRequest, opts ...grpc.CallOption) (*RemoveDeviceResponse, error) }
AuthorizationServiceClient is the client API for AuthorizationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthorizationServiceClient ¶
func NewAuthorizationServiceClient(cc grpc.ClientConnInterface) AuthorizationServiceClient
type AuthorizationServiceServer ¶
type AuthorizationServiceServer interface { SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error) SignOff(context.Context, *SignOffRequest) (*SignOffResponse, error) SignIn(context.Context, *SignInRequest) (*SignInResponse, error) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error) GetUserDevices(*GetUserDevicesRequest, AuthorizationService_GetUserDevicesServer) error AddDevice(context.Context, *AddDeviceRequest) (*AddDeviceResponse, error) RemoveDevice(context.Context, *RemoveDeviceRequest) (*RemoveDeviceResponse, error) }
AuthorizationServiceServer is the server API for AuthorizationService service.
type AuthorizationService_GetUserDevicesClient ¶
type AuthorizationService_GetUserDevicesClient interface { Recv() (*UserDevice, error) grpc.ClientStream }
type AuthorizationService_GetUserDevicesServer ¶
type AuthorizationService_GetUserDevicesServer interface { Send(*UserDevice) error grpc.ServerStream }
type GetUserDevicesRequest ¶
type GetUserDevicesRequest struct { UserIdsFilter []string `protobuf:"bytes,1,rep,name=user_ids_filter,json=userIdsFilter,proto3" json:"user_ids_filter,omitempty"` DeviceIdsFilter []string `protobuf:"bytes,2,rep,name=device_ids_filter,json=deviceIdsFilter,proto3" json:"device_ids_filter,omitempty"` }
func (*GetUserDevicesRequest) Descriptor ¶
func (*GetUserDevicesRequest) Descriptor() ([]byte, []int)
func (*GetUserDevicesRequest) GetDeviceIdsFilter ¶
func (m *GetUserDevicesRequest) GetDeviceIdsFilter() []string
func (*GetUserDevicesRequest) GetUserIdsFilter ¶
func (m *GetUserDevicesRequest) GetUserIdsFilter() []string
func (*GetUserDevicesRequest) Marshal ¶
func (m *GetUserDevicesRequest) Marshal() (dAtA []byte, err error)
func (*GetUserDevicesRequest) MarshalTo ¶
func (m *GetUserDevicesRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetUserDevicesRequest) MarshalToSizedBuffer ¶
func (m *GetUserDevicesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetUserDevicesRequest) ProtoMessage ¶
func (*GetUserDevicesRequest) ProtoMessage()
func (*GetUserDevicesRequest) Reset ¶
func (m *GetUserDevicesRequest) Reset()
func (*GetUserDevicesRequest) Size ¶
func (m *GetUserDevicesRequest) Size() (n int)
func (*GetUserDevicesRequest) String ¶
func (m *GetUserDevicesRequest) String() string
func (*GetUserDevicesRequest) Unmarshal ¶
func (m *GetUserDevicesRequest) Unmarshal(dAtA []byte) error
func (*GetUserDevicesRequest) XXX_DiscardUnknown ¶
func (m *GetUserDevicesRequest) XXX_DiscardUnknown()
func (*GetUserDevicesRequest) XXX_Marshal ¶
func (m *GetUserDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserDevicesRequest) XXX_Merge ¶
func (m *GetUserDevicesRequest) XXX_Merge(src proto.Message)
func (*GetUserDevicesRequest) XXX_Size ¶
func (m *GetUserDevicesRequest) XXX_Size() int
func (*GetUserDevicesRequest) XXX_Unmarshal ¶
func (m *GetUserDevicesRequest) XXX_Unmarshal(b []byte) error
type RefreshTokenRequest ¶
type RefreshTokenRequest struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` }
https://github.com/openconnectivityfoundation/security/blob/master/oic.r.tokenrefresh.raml#L27
func (*RefreshTokenRequest) Descriptor ¶
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
func (*RefreshTokenRequest) GetDeviceId ¶
func (m *RefreshTokenRequest) GetDeviceId() string
func (*RefreshTokenRequest) GetRefreshToken ¶
func (m *RefreshTokenRequest) GetRefreshToken() string
func (*RefreshTokenRequest) GetUserId ¶
func (m *RefreshTokenRequest) GetUserId() string
func (*RefreshTokenRequest) Marshal ¶
func (m *RefreshTokenRequest) Marshal() (dAtA []byte, err error)
func (*RefreshTokenRequest) MarshalTo ¶
func (m *RefreshTokenRequest) MarshalTo(dAtA []byte) (int, error)
func (*RefreshTokenRequest) MarshalToSizedBuffer ¶
func (m *RefreshTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RefreshTokenRequest) ProtoMessage ¶
func (*RefreshTokenRequest) ProtoMessage()
func (*RefreshTokenRequest) Reset ¶
func (m *RefreshTokenRequest) Reset()
func (*RefreshTokenRequest) Size ¶
func (m *RefreshTokenRequest) Size() (n int)
func (*RefreshTokenRequest) String ¶
func (m *RefreshTokenRequest) String() string
func (*RefreshTokenRequest) Unmarshal ¶
func (m *RefreshTokenRequest) Unmarshal(dAtA []byte) error
func (*RefreshTokenRequest) XXX_DiscardUnknown ¶
func (m *RefreshTokenRequest) XXX_DiscardUnknown()
func (*RefreshTokenRequest) XXX_Marshal ¶
func (m *RefreshTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RefreshTokenRequest) XXX_Merge ¶
func (m *RefreshTokenRequest) XXX_Merge(src proto.Message)
func (*RefreshTokenRequest) XXX_Size ¶
func (m *RefreshTokenRequest) XXX_Size() int
func (*RefreshTokenRequest) XXX_Unmarshal ¶
func (m *RefreshTokenRequest) XXX_Unmarshal(b []byte) error
type RefreshTokenResponse ¶
type RefreshTokenResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` ExpiresIn int64 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` }
https://github.com/openconnectivityfoundation/security/blob/master/oic.r.tokenrefresh.raml#L40
func (*RefreshTokenResponse) Descriptor ¶
func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
func (*RefreshTokenResponse) GetAccessToken ¶
func (m *RefreshTokenResponse) GetAccessToken() string
func (*RefreshTokenResponse) GetExpiresIn ¶
func (m *RefreshTokenResponse) GetExpiresIn() int64
func (*RefreshTokenResponse) GetRefreshToken ¶
func (m *RefreshTokenResponse) GetRefreshToken() string
func (*RefreshTokenResponse) Marshal ¶
func (m *RefreshTokenResponse) Marshal() (dAtA []byte, err error)
func (*RefreshTokenResponse) MarshalTo ¶
func (m *RefreshTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*RefreshTokenResponse) MarshalToSizedBuffer ¶
func (m *RefreshTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RefreshTokenResponse) ProtoMessage ¶
func (*RefreshTokenResponse) ProtoMessage()
func (*RefreshTokenResponse) Reset ¶
func (m *RefreshTokenResponse) Reset()
func (*RefreshTokenResponse) Size ¶
func (m *RefreshTokenResponse) Size() (n int)
func (*RefreshTokenResponse) String ¶
func (m *RefreshTokenResponse) String() string
func (*RefreshTokenResponse) Unmarshal ¶
func (m *RefreshTokenResponse) Unmarshal(dAtA []byte) error
func (*RefreshTokenResponse) XXX_DiscardUnknown ¶
func (m *RefreshTokenResponse) XXX_DiscardUnknown()
func (*RefreshTokenResponse) XXX_Marshal ¶
func (m *RefreshTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RefreshTokenResponse) XXX_Merge ¶
func (m *RefreshTokenResponse) XXX_Merge(src proto.Message)
func (*RefreshTokenResponse) XXX_Size ¶
func (m *RefreshTokenResponse) XXX_Size() int
func (*RefreshTokenResponse) XXX_Unmarshal ¶
func (m *RefreshTokenResponse) XXX_Unmarshal(b []byte) error
type RemoveDeviceRequest ¶
type RemoveDeviceRequest struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` }
func (*RemoveDeviceRequest) Descriptor ¶
func (*RemoveDeviceRequest) Descriptor() ([]byte, []int)
func (*RemoveDeviceRequest) GetDeviceId ¶
func (m *RemoveDeviceRequest) GetDeviceId() string
func (*RemoveDeviceRequest) GetUserId ¶
func (m *RemoveDeviceRequest) GetUserId() string
func (*RemoveDeviceRequest) Marshal ¶
func (m *RemoveDeviceRequest) Marshal() (dAtA []byte, err error)
func (*RemoveDeviceRequest) MarshalTo ¶
func (m *RemoveDeviceRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemoveDeviceRequest) MarshalToSizedBuffer ¶
func (m *RemoveDeviceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveDeviceRequest) ProtoMessage ¶
func (*RemoveDeviceRequest) ProtoMessage()
func (*RemoveDeviceRequest) Reset ¶
func (m *RemoveDeviceRequest) Reset()
func (*RemoveDeviceRequest) Size ¶
func (m *RemoveDeviceRequest) Size() (n int)
func (*RemoveDeviceRequest) String ¶
func (m *RemoveDeviceRequest) String() string
func (*RemoveDeviceRequest) Unmarshal ¶
func (m *RemoveDeviceRequest) Unmarshal(dAtA []byte) error
func (*RemoveDeviceRequest) XXX_DiscardUnknown ¶
func (m *RemoveDeviceRequest) XXX_DiscardUnknown()
func (*RemoveDeviceRequest) XXX_Marshal ¶
func (m *RemoveDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveDeviceRequest) XXX_Merge ¶
func (m *RemoveDeviceRequest) XXX_Merge(src proto.Message)
func (*RemoveDeviceRequest) XXX_Size ¶
func (m *RemoveDeviceRequest) XXX_Size() int
func (*RemoveDeviceRequest) XXX_Unmarshal ¶
func (m *RemoveDeviceRequest) XXX_Unmarshal(b []byte) error
type RemoveDeviceResponse ¶
type RemoveDeviceResponse struct { }
func (*RemoveDeviceResponse) Descriptor ¶
func (*RemoveDeviceResponse) Descriptor() ([]byte, []int)
func (*RemoveDeviceResponse) Marshal ¶
func (m *RemoveDeviceResponse) Marshal() (dAtA []byte, err error)
func (*RemoveDeviceResponse) MarshalTo ¶
func (m *RemoveDeviceResponse) MarshalTo(dAtA []byte) (int, error)
func (*RemoveDeviceResponse) MarshalToSizedBuffer ¶
func (m *RemoveDeviceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveDeviceResponse) ProtoMessage ¶
func (*RemoveDeviceResponse) ProtoMessage()
func (*RemoveDeviceResponse) Reset ¶
func (m *RemoveDeviceResponse) Reset()
func (*RemoveDeviceResponse) Size ¶
func (m *RemoveDeviceResponse) Size() (n int)
func (*RemoveDeviceResponse) String ¶
func (m *RemoveDeviceResponse) String() string
func (*RemoveDeviceResponse) Unmarshal ¶
func (m *RemoveDeviceResponse) Unmarshal(dAtA []byte) error
func (*RemoveDeviceResponse) XXX_DiscardUnknown ¶
func (m *RemoveDeviceResponse) XXX_DiscardUnknown()
func (*RemoveDeviceResponse) XXX_Marshal ¶
func (m *RemoveDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveDeviceResponse) XXX_Merge ¶
func (m *RemoveDeviceResponse) XXX_Merge(src proto.Message)
func (*RemoveDeviceResponse) XXX_Size ¶
func (m *RemoveDeviceResponse) XXX_Size() int
func (*RemoveDeviceResponse) XXX_Unmarshal ¶
func (m *RemoveDeviceResponse) XXX_Unmarshal(b []byte) error
type SignInRequest ¶
type SignInRequest struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` }
https://github.com/openconnectivityfoundation/security/blob/master/oic.r.session.raml#L27
func (*SignInRequest) Descriptor ¶
func (*SignInRequest) Descriptor() ([]byte, []int)
func (*SignInRequest) GetAccessToken ¶
func (m *SignInRequest) GetAccessToken() string
func (*SignInRequest) GetDeviceId ¶
func (m *SignInRequest) GetDeviceId() string
func (*SignInRequest) GetUserId ¶
func (m *SignInRequest) GetUserId() string
func (*SignInRequest) Marshal ¶
func (m *SignInRequest) Marshal() (dAtA []byte, err error)
func (*SignInRequest) MarshalToSizedBuffer ¶
func (m *SignInRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignInRequest) ProtoMessage ¶
func (*SignInRequest) ProtoMessage()
func (*SignInRequest) Reset ¶
func (m *SignInRequest) Reset()
func (*SignInRequest) Size ¶
func (m *SignInRequest) Size() (n int)
func (*SignInRequest) String ¶
func (m *SignInRequest) String() string
func (*SignInRequest) Unmarshal ¶
func (m *SignInRequest) Unmarshal(dAtA []byte) error
func (*SignInRequest) XXX_DiscardUnknown ¶
func (m *SignInRequest) XXX_DiscardUnknown()
func (*SignInRequest) XXX_Marshal ¶
func (m *SignInRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignInRequest) XXX_Merge ¶
func (m *SignInRequest) XXX_Merge(src proto.Message)
func (*SignInRequest) XXX_Size ¶
func (m *SignInRequest) XXX_Size() int
func (*SignInRequest) XXX_Unmarshal ¶
func (m *SignInRequest) XXX_Unmarshal(b []byte) error
type SignInResponse ¶
type SignInResponse struct {
ExpiresIn int64 `protobuf:"varint,1,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
}
https://github.com/openconnectivityfoundation/security/blob/master/oic.r.session.raml#L39
func (*SignInResponse) Descriptor ¶
func (*SignInResponse) Descriptor() ([]byte, []int)
func (*SignInResponse) GetExpiresIn ¶
func (m *SignInResponse) GetExpiresIn() int64
func (*SignInResponse) Marshal ¶
func (m *SignInResponse) Marshal() (dAtA []byte, err error)
func (*SignInResponse) MarshalToSizedBuffer ¶
func (m *SignInResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignInResponse) ProtoMessage ¶
func (*SignInResponse) ProtoMessage()
func (*SignInResponse) Reset ¶
func (m *SignInResponse) Reset()
func (*SignInResponse) Size ¶
func (m *SignInResponse) Size() (n int)
func (*SignInResponse) String ¶
func (m *SignInResponse) String() string
func (*SignInResponse) Unmarshal ¶
func (m *SignInResponse) Unmarshal(dAtA []byte) error
func (*SignInResponse) XXX_DiscardUnknown ¶
func (m *SignInResponse) XXX_DiscardUnknown()
func (*SignInResponse) XXX_Marshal ¶
func (m *SignInResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignInResponse) XXX_Merge ¶
func (m *SignInResponse) XXX_Merge(src proto.Message)
func (*SignInResponse) XXX_Size ¶
func (m *SignInResponse) XXX_Size() int
func (*SignInResponse) XXX_Unmarshal ¶
func (m *SignInResponse) XXX_Unmarshal(b []byte) error
type SignOffRequest ¶
type SignOffRequest struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` }
https://github.com/openconnectivityfoundation/security/blob/master/oic.r.account.raml#L55
func (*SignOffRequest) Descriptor ¶
func (*SignOffRequest) Descriptor() ([]byte, []int)
func (*SignOffRequest) GetAccessToken ¶
func (m *SignOffRequest) GetAccessToken() string
func (*SignOffRequest) GetDeviceId ¶
func (m *SignOffRequest) GetDeviceId() string
func (*SignOffRequest) GetUserId ¶
func (m *SignOffRequest) GetUserId() string
func (*SignOffRequest) Marshal ¶
func (m *SignOffRequest) Marshal() (dAtA []byte, err error)
func (*SignOffRequest) MarshalToSizedBuffer ¶
func (m *SignOffRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignOffRequest) ProtoMessage ¶
func (*SignOffRequest) ProtoMessage()
func (*SignOffRequest) Reset ¶
func (m *SignOffRequest) Reset()
func (*SignOffRequest) Size ¶
func (m *SignOffRequest) Size() (n int)
func (*SignOffRequest) String ¶
func (m *SignOffRequest) String() string
func (*SignOffRequest) Unmarshal ¶
func (m *SignOffRequest) Unmarshal(dAtA []byte) error
func (*SignOffRequest) XXX_DiscardUnknown ¶
func (m *SignOffRequest) XXX_DiscardUnknown()
func (*SignOffRequest) XXX_Marshal ¶
func (m *SignOffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignOffRequest) XXX_Merge ¶
func (m *SignOffRequest) XXX_Merge(src proto.Message)
func (*SignOffRequest) XXX_Size ¶
func (m *SignOffRequest) XXX_Size() int
func (*SignOffRequest) XXX_Unmarshal ¶
func (m *SignOffRequest) XXX_Unmarshal(b []byte) error
type SignOffResponse ¶
type SignOffResponse struct { }
https://github.com/openconnectivityfoundation/security/blob/master/oic.r.account.raml#L60
func (*SignOffResponse) Descriptor ¶
func (*SignOffResponse) Descriptor() ([]byte, []int)
func (*SignOffResponse) Marshal ¶
func (m *SignOffResponse) Marshal() (dAtA []byte, err error)
func (*SignOffResponse) MarshalToSizedBuffer ¶
func (m *SignOffResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignOffResponse) ProtoMessage ¶
func (*SignOffResponse) ProtoMessage()
func (*SignOffResponse) Reset ¶
func (m *SignOffResponse) Reset()
func (*SignOffResponse) Size ¶
func (m *SignOffResponse) Size() (n int)
func (*SignOffResponse) String ¶
func (m *SignOffResponse) String() string
func (*SignOffResponse) Unmarshal ¶
func (m *SignOffResponse) Unmarshal(dAtA []byte) error
func (*SignOffResponse) XXX_DiscardUnknown ¶
func (m *SignOffResponse) XXX_DiscardUnknown()
func (*SignOffResponse) XXX_Marshal ¶
func (m *SignOffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignOffResponse) XXX_Merge ¶
func (m *SignOffResponse) XXX_Merge(src proto.Message)
func (*SignOffResponse) XXX_Size ¶
func (m *SignOffResponse) XXX_Size() int
func (*SignOffResponse) XXX_Unmarshal ¶
func (m *SignOffResponse) XXX_Unmarshal(b []byte) error
type SignOutRequest ¶
type SignOutRequest struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` CorrelationId string `protobuf:"bytes,4,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` }
https://github.com/openconnectivityfoundation/security/blob/master/oic.r.session.raml #Specification CR needed
func (*SignOutRequest) Descriptor ¶
func (*SignOutRequest) Descriptor() ([]byte, []int)
func (*SignOutRequest) GetAccessToken ¶
func (m *SignOutRequest) GetAccessToken() string
func (*SignOutRequest) GetCorrelationId ¶
func (m *SignOutRequest) GetCorrelationId() string
func (*SignOutRequest) GetDeviceId ¶
func (m *SignOutRequest) GetDeviceId() string
func (*SignOutRequest) GetUserId ¶
func (m *SignOutRequest) GetUserId() string
func (*SignOutRequest) Marshal ¶
func (m *SignOutRequest) Marshal() (dAtA []byte, err error)
func (*SignOutRequest) MarshalToSizedBuffer ¶
func (m *SignOutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignOutRequest) ProtoMessage ¶
func (*SignOutRequest) ProtoMessage()
func (*SignOutRequest) Reset ¶
func (m *SignOutRequest) Reset()
func (*SignOutRequest) Size ¶
func (m *SignOutRequest) Size() (n int)
func (*SignOutRequest) String ¶
func (m *SignOutRequest) String() string
func (*SignOutRequest) Unmarshal ¶
func (m *SignOutRequest) Unmarshal(dAtA []byte) error
func (*SignOutRequest) XXX_DiscardUnknown ¶
func (m *SignOutRequest) XXX_DiscardUnknown()
func (*SignOutRequest) XXX_Marshal ¶
func (m *SignOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignOutRequest) XXX_Merge ¶
func (m *SignOutRequest) XXX_Merge(src proto.Message)
func (*SignOutRequest) XXX_Size ¶
func (m *SignOutRequest) XXX_Size() int
func (*SignOutRequest) XXX_Unmarshal ¶
func (m *SignOutRequest) XXX_Unmarshal(b []byte) error
type SignOutResponse ¶
type SignOutResponse struct { }
https://github.com/openconnectivityfoundation/security/blob/master/oic.r.session.raml #Specification CR needed
func (*SignOutResponse) Descriptor ¶
func (*SignOutResponse) Descriptor() ([]byte, []int)
func (*SignOutResponse) Marshal ¶
func (m *SignOutResponse) Marshal() (dAtA []byte, err error)
func (*SignOutResponse) MarshalToSizedBuffer ¶
func (m *SignOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignOutResponse) ProtoMessage ¶
func (*SignOutResponse) ProtoMessage()
func (*SignOutResponse) Reset ¶
func (m *SignOutResponse) Reset()
func (*SignOutResponse) Size ¶
func (m *SignOutResponse) Size() (n int)
func (*SignOutResponse) String ¶
func (m *SignOutResponse) String() string
func (*SignOutResponse) Unmarshal ¶
func (m *SignOutResponse) Unmarshal(dAtA []byte) error
func (*SignOutResponse) XXX_DiscardUnknown ¶
func (m *SignOutResponse) XXX_DiscardUnknown()
func (*SignOutResponse) XXX_Marshal ¶
func (m *SignOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignOutResponse) XXX_Merge ¶
func (m *SignOutResponse) XXX_Merge(src proto.Message)
func (*SignOutResponse) XXX_Size ¶
func (m *SignOutResponse) XXX_Size() int
func (*SignOutResponse) XXX_Unmarshal ¶
func (m *SignOutResponse) XXX_Unmarshal(b []byte) error
type SignUpRequest ¶
type SignUpRequest struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` AuthorizationCode string `protobuf:"bytes,2,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"` AuthorizationProvider string `protobuf:"bytes,3,opt,name=authorization_provider,json=authorizationProvider,proto3" json:"authorization_provider,omitempty"` }
https://github.com/openconnectivityfoundation/security/blob/master/oic.r.account.raml#L27
func (*SignUpRequest) Descriptor ¶
func (*SignUpRequest) Descriptor() ([]byte, []int)
func (*SignUpRequest) GetAuthorizationCode ¶
func (m *SignUpRequest) GetAuthorizationCode() string
func (*SignUpRequest) GetAuthorizationProvider ¶
func (m *SignUpRequest) GetAuthorizationProvider() string
func (*SignUpRequest) GetDeviceId ¶
func (m *SignUpRequest) GetDeviceId() string
func (*SignUpRequest) Marshal ¶
func (m *SignUpRequest) Marshal() (dAtA []byte, err error)
func (*SignUpRequest) MarshalToSizedBuffer ¶
func (m *SignUpRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignUpRequest) ProtoMessage ¶
func (*SignUpRequest) ProtoMessage()
func (*SignUpRequest) Reset ¶
func (m *SignUpRequest) Reset()
func (*SignUpRequest) Size ¶
func (m *SignUpRequest) Size() (n int)
func (*SignUpRequest) String ¶
func (m *SignUpRequest) String() string
func (*SignUpRequest) Unmarshal ¶
func (m *SignUpRequest) Unmarshal(dAtA []byte) error
func (*SignUpRequest) XXX_DiscardUnknown ¶
func (m *SignUpRequest) XXX_DiscardUnknown()
func (*SignUpRequest) XXX_Marshal ¶
func (m *SignUpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignUpRequest) XXX_Merge ¶
func (m *SignUpRequest) XXX_Merge(src proto.Message)
func (*SignUpRequest) XXX_Size ¶
func (m *SignUpRequest) XXX_Size() int
func (*SignUpRequest) XXX_Unmarshal ¶
func (m *SignUpRequest) XXX_Unmarshal(b []byte) error
type SignUpResponse ¶
type SignUpResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` ExpiresIn int64 `protobuf:"varint,4,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` RedirectUri string `protobuf:"bytes,5,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` }
https://github.com/openconnectivityfoundation/security/blob/master/oic.r.account.raml#L40
func (*SignUpResponse) Descriptor ¶
func (*SignUpResponse) Descriptor() ([]byte, []int)
func (*SignUpResponse) GetAccessToken ¶
func (m *SignUpResponse) GetAccessToken() string
func (*SignUpResponse) GetExpiresIn ¶
func (m *SignUpResponse) GetExpiresIn() int64
func (*SignUpResponse) GetRedirectUri ¶
func (m *SignUpResponse) GetRedirectUri() string
func (*SignUpResponse) GetRefreshToken ¶
func (m *SignUpResponse) GetRefreshToken() string
func (*SignUpResponse) GetUserId ¶
func (m *SignUpResponse) GetUserId() string
func (*SignUpResponse) Marshal ¶
func (m *SignUpResponse) Marshal() (dAtA []byte, err error)
func (*SignUpResponse) MarshalToSizedBuffer ¶
func (m *SignUpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignUpResponse) ProtoMessage ¶
func (*SignUpResponse) ProtoMessage()
func (*SignUpResponse) Reset ¶
func (m *SignUpResponse) Reset()
func (*SignUpResponse) Size ¶
func (m *SignUpResponse) Size() (n int)
func (*SignUpResponse) String ¶
func (m *SignUpResponse) String() string
func (*SignUpResponse) Unmarshal ¶
func (m *SignUpResponse) Unmarshal(dAtA []byte) error
func (*SignUpResponse) XXX_DiscardUnknown ¶
func (m *SignUpResponse) XXX_DiscardUnknown()
func (*SignUpResponse) XXX_Marshal ¶
func (m *SignUpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignUpResponse) XXX_Merge ¶
func (m *SignUpResponse) XXX_Merge(src proto.Message)
func (*SignUpResponse) XXX_Size ¶
func (m *SignUpResponse) XXX_Size() int
func (*SignUpResponse) XXX_Unmarshal ¶
func (m *SignUpResponse) XXX_Unmarshal(b []byte) error
type UnimplementedAuthorizationServiceServer ¶
type UnimplementedAuthorizationServiceServer struct { }
UnimplementedAuthorizationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthorizationServiceServer) AddDevice ¶
func (*UnimplementedAuthorizationServiceServer) AddDevice(ctx context.Context, req *AddDeviceRequest) (*AddDeviceResponse, error)
func (*UnimplementedAuthorizationServiceServer) GetUserDevices ¶
func (*UnimplementedAuthorizationServiceServer) GetUserDevices(req *GetUserDevicesRequest, srv AuthorizationService_GetUserDevicesServer) error
func (*UnimplementedAuthorizationServiceServer) RefreshToken ¶
func (*UnimplementedAuthorizationServiceServer) RefreshToken(ctx context.Context, req *RefreshTokenRequest) (*RefreshTokenResponse, error)
func (*UnimplementedAuthorizationServiceServer) RemoveDevice ¶
func (*UnimplementedAuthorizationServiceServer) RemoveDevice(ctx context.Context, req *RemoveDeviceRequest) (*RemoveDeviceResponse, error)
func (*UnimplementedAuthorizationServiceServer) SignIn ¶
func (*UnimplementedAuthorizationServiceServer) SignIn(ctx context.Context, req *SignInRequest) (*SignInResponse, error)
func (*UnimplementedAuthorizationServiceServer) SignOff ¶
func (*UnimplementedAuthorizationServiceServer) SignOff(ctx context.Context, req *SignOffRequest) (*SignOffResponse, error)
func (*UnimplementedAuthorizationServiceServer) SignOut ¶
func (*UnimplementedAuthorizationServiceServer) SignOut(ctx context.Context, req *SignOutRequest) (*SignOutResponse, error)
func (*UnimplementedAuthorizationServiceServer) SignUp ¶
func (*UnimplementedAuthorizationServiceServer) SignUp(ctx context.Context, req *SignUpRequest) (*SignUpResponse, error)
type UserDevice ¶
type UserDevice struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` }
func (*UserDevice) Descriptor ¶
func (*UserDevice) Descriptor() ([]byte, []int)
func (*UserDevice) GetDeviceId ¶
func (m *UserDevice) GetDeviceId() string
func (*UserDevice) GetUserId ¶
func (m *UserDevice) GetUserId() string
func (*UserDevice) Marshal ¶
func (m *UserDevice) Marshal() (dAtA []byte, err error)
func (*UserDevice) MarshalToSizedBuffer ¶
func (m *UserDevice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserDevice) ProtoMessage ¶
func (*UserDevice) ProtoMessage()
func (*UserDevice) Reset ¶
func (m *UserDevice) Reset()
func (*UserDevice) Size ¶
func (m *UserDevice) Size() (n int)
func (*UserDevice) String ¶
func (m *UserDevice) String() string
func (*UserDevice) Unmarshal ¶
func (m *UserDevice) Unmarshal(dAtA []byte) error
func (*UserDevice) XXX_DiscardUnknown ¶
func (m *UserDevice) XXX_DiscardUnknown()
func (*UserDevice) XXX_Marshal ¶
func (m *UserDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserDevice) XXX_Merge ¶
func (m *UserDevice) XXX_Merge(src proto.Message)
func (*UserDevice) XXX_Size ¶
func (m *UserDevice) XXX_Size() int
func (*UserDevice) XXX_Unmarshal ¶
func (m *UserDevice) XXX_Unmarshal(b []byte) error