Documentation
¶
Index ¶
- Variables
- func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
- func RegisterAuthorizationServiceServer(s *grpc.Server, srv AuthorizationServiceServer)
- func RegisterClientServiceServer(s *grpc.Server, srv ClientServiceServer)
- type AccountProfile
- func (*AccountProfile) Descriptor() ([]byte, []int)
- func (m *AccountProfile) GetName() string
- func (*AccountProfile) ProtoMessage()
- func (m *AccountProfile) Reset()
- func (m *AccountProfile) String() string
- func (m *AccountProfile) XXX_DiscardUnknown()
- func (m *AccountProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountProfile) XXX_Merge(src proto.Message)
- func (m *AccountProfile) XXX_Size() int
- func (m *AccountProfile) XXX_Unmarshal(b []byte) error
- type AccountServiceClient
- type AccountServiceServer
- type ActivateSessionRequest
- func (*ActivateSessionRequest) Descriptor() ([]byte, []int)
- func (m *ActivateSessionRequest) GetActivationCode() string
- func (m *ActivateSessionRequest) GetSessionId() string
- func (m *ActivateSessionRequest) GetSubject() string
- func (m *ActivateSessionRequest) GetUserAgent() string
- func (*ActivateSessionRequest) ProtoMessage()
- func (m *ActivateSessionRequest) Reset()
- func (m *ActivateSessionRequest) String() string
- func (m *ActivateSessionRequest) XXX_DiscardUnknown()
- func (m *ActivateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActivateSessionRequest) XXX_Merge(src proto.Message)
- func (m *ActivateSessionRequest) XXX_Size() int
- func (m *ActivateSessionRequest) XXX_Unmarshal(b []byte) error
- type ActivateSessionResponse
- func (*ActivateSessionResponse) Descriptor() ([]byte, []int)
- func (m *ActivateSessionResponse) GetStatus() *ResponseStatus
- func (*ActivateSessionResponse) ProtoMessage()
- func (m *ActivateSessionResponse) Reset()
- func (m *ActivateSessionResponse) String() string
- func (m *ActivateSessionResponse) XXX_DiscardUnknown()
- func (m *ActivateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActivateSessionResponse) XXX_Merge(src proto.Message)
- func (m *ActivateSessionResponse) XXX_Size() int
- func (m *ActivateSessionResponse) XXX_Unmarshal(b []byte) error
- type ActivationMethod
- type AuthorizationServiceClient
- type AuthorizationServiceServer
- type AuthorizeClientRequest
- func (*AuthorizeClientRequest) Descriptor() ([]byte, []int)
- func (m *AuthorizeClientRequest) GetClientId() string
- func (m *AuthorizeClientRequest) GetRedirectUri() string
- func (m *AuthorizeClientRequest) GetResponseType() string
- func (m *AuthorizeClientRequest) GetScopes() []string
- func (m *AuthorizeClientRequest) GetState() string
- func (m *AuthorizeClientRequest) GetSubject() string
- func (*AuthorizeClientRequest) ProtoMessage()
- func (m *AuthorizeClientRequest) Reset()
- func (m *AuthorizeClientRequest) String() string
- func (m *AuthorizeClientRequest) XXX_DiscardUnknown()
- func (m *AuthorizeClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthorizeClientRequest) XXX_Merge(src proto.Message)
- func (m *AuthorizeClientRequest) XXX_Size() int
- func (m *AuthorizeClientRequest) XXX_Unmarshal(b []byte) error
- type AuthorizeClientResponse
- func (*AuthorizeClientResponse) Descriptor() ([]byte, []int)
- func (m *AuthorizeClientResponse) GetClientName() string
- func (m *AuthorizeClientResponse) GetStatus() *ResponseStatus
- func (m *AuthorizeClientResponse) GetUnauthorizedScopes() []string
- func (*AuthorizeClientResponse) ProtoMessage()
- func (m *AuthorizeClientResponse) Reset()
- func (m *AuthorizeClientResponse) String() string
- func (m *AuthorizeClientResponse) XXX_DiscardUnknown()
- func (m *AuthorizeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthorizeClientResponse) XXX_Merge(src proto.Message)
- func (m *AuthorizeClientResponse) XXX_Size() int
- func (m *AuthorizeClientResponse) XXX_Unmarshal(b []byte) error
- type ClientServiceClient
- type ClientServiceServer
- type ClientType
- type CreateClientRequest
- func (*CreateClientRequest) Descriptor() ([]byte, []int)
- func (m *CreateClientRequest) GetName() string
- func (m *CreateClientRequest) GetRedirectUris() []string
- func (m *CreateClientRequest) GetType() ClientType
- func (*CreateClientRequest) ProtoMessage()
- func (m *CreateClientRequest) Reset()
- func (m *CreateClientRequest) String() string
- func (m *CreateClientRequest) XXX_DiscardUnknown()
- func (m *CreateClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateClientRequest) XXX_Merge(src proto.Message)
- func (m *CreateClientRequest) XXX_Size() int
- func (m *CreateClientRequest) XXX_Unmarshal(b []byte) error
- type CreateClientResponse
- func (*CreateClientResponse) Descriptor() ([]byte, []int)
- func (m *CreateClientResponse) GetClientId() string
- func (m *CreateClientResponse) GetClientSecret() string
- func (m *CreateClientResponse) GetStatus() *ResponseStatus
- func (*CreateClientResponse) ProtoMessage()
- func (m *CreateClientResponse) Reset()
- func (m *CreateClientResponse) String() string
- func (m *CreateClientResponse) XXX_DiscardUnknown()
- func (m *CreateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateClientResponse) XXX_Merge(src proto.Message)
- func (m *CreateClientResponse) XXX_Size() int
- func (m *CreateClientResponse) XXX_Unmarshal(b []byte) error
- type CreateScopeRequest
- func (*CreateScopeRequest) Descriptor() ([]byte, []int)
- func (m *CreateScopeRequest) GetClientId() string
- func (m *CreateScopeRequest) GetDescription() string
- func (m *CreateScopeRequest) GetScope() string
- func (*CreateScopeRequest) ProtoMessage()
- func (m *CreateScopeRequest) Reset()
- func (m *CreateScopeRequest) String() string
- func (m *CreateScopeRequest) XXX_DiscardUnknown()
- func (m *CreateScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateScopeRequest) XXX_Merge(src proto.Message)
- func (m *CreateScopeRequest) XXX_Size() int
- func (m *CreateScopeRequest) XXX_Unmarshal(b []byte) error
- type CreateScopeResponse
- func (*CreateScopeResponse) Descriptor() ([]byte, []int)
- func (m *CreateScopeResponse) GetScopeId() string
- func (m *CreateScopeResponse) GetStatus() *ResponseStatus
- func (*CreateScopeResponse) ProtoMessage()
- func (m *CreateScopeResponse) Reset()
- func (m *CreateScopeResponse) String() string
- func (m *CreateScopeResponse) XXX_DiscardUnknown()
- func (m *CreateScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateScopeResponse) XXX_Merge(src proto.Message)
- func (m *CreateScopeResponse) XXX_Size() int
- func (m *CreateScopeResponse) XXX_Unmarshal(b []byte) error
- type EventLevel
- type GrantScopesRequest
- func (*GrantScopesRequest) Descriptor() ([]byte, []int)
- func (m *GrantScopesRequest) GetClientId() string
- func (m *GrantScopesRequest) GetScopes() []string
- func (m *GrantScopesRequest) GetSubject() string
- func (*GrantScopesRequest) ProtoMessage()
- func (m *GrantScopesRequest) Reset()
- func (m *GrantScopesRequest) String() string
- func (m *GrantScopesRequest) XXX_DiscardUnknown()
- func (m *GrantScopesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GrantScopesRequest) XXX_Merge(src proto.Message)
- func (m *GrantScopesRequest) XXX_Size() int
- func (m *GrantScopesRequest) XXX_Unmarshal(b []byte) error
- type GrantScopesResponse
- func (*GrantScopesResponse) Descriptor() ([]byte, []int)
- func (m *GrantScopesResponse) GetStatus() *ResponseStatus
- func (*GrantScopesResponse) ProtoMessage()
- func (m *GrantScopesResponse) Reset()
- func (m *GrantScopesResponse) String() string
- func (m *GrantScopesResponse) XXX_DiscardUnknown()
- func (m *GrantScopesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GrantScopesResponse) XXX_Merge(src proto.Message)
- func (m *GrantScopesResponse) XXX_Size() int
- func (m *GrantScopesResponse) XXX_Unmarshal(b []byte) error
- type NewRefreshTokenRequest
- func (*NewRefreshTokenRequest) Descriptor() ([]byte, []int)
- func (m *NewRefreshTokenRequest) GetAuthorizationCode() string
- func (m *NewRefreshTokenRequest) GetClientId() string
- func (m *NewRefreshTokenRequest) GetClientSecret() string
- func (m *NewRefreshTokenRequest) GetDuration() string
- func (m *NewRefreshTokenRequest) GetForceNew() bool
- func (m *NewRefreshTokenRequest) GetRedirectUri() string
- func (m *NewRefreshTokenRequest) GetScopes() []string
- func (m *NewRefreshTokenRequest) GetSessionId() string
- func (m *NewRefreshTokenRequest) GetSubject() string
- func (*NewRefreshTokenRequest) ProtoMessage()
- func (m *NewRefreshTokenRequest) Reset()
- func (m *NewRefreshTokenRequest) String() string
- func (m *NewRefreshTokenRequest) XXX_DiscardUnknown()
- func (m *NewRefreshTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewRefreshTokenRequest) XXX_Merge(src proto.Message)
- func (m *NewRefreshTokenRequest) XXX_Size() int
- func (m *NewRefreshTokenRequest) XXX_Unmarshal(b []byte) error
- type NewRefreshTokenResponse
- func (*NewRefreshTokenResponse) Descriptor() ([]byte, []int)
- func (m *NewRefreshTokenResponse) GetExpiresAt() int64
- func (m *NewRefreshTokenResponse) GetRefreshTokenId() string
- func (m *NewRefreshTokenResponse) GetStatus() *ResponseStatus
- func (*NewRefreshTokenResponse) ProtoMessage()
- func (m *NewRefreshTokenResponse) Reset()
- func (m *NewRefreshTokenResponse) String() string
- func (m *NewRefreshTokenResponse) XXX_DiscardUnknown()
- func (m *NewRefreshTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewRefreshTokenResponse) XXX_Merge(src proto.Message)
- func (m *NewRefreshTokenResponse) XXX_Size() int
- func (m *NewRefreshTokenResponse) XXX_Unmarshal(b []byte) error
- type RegisterEventRequest
- func (*RegisterEventRequest) Descriptor() ([]byte, []int)
- func (m *RegisterEventRequest) GetData() map[string]string
- func (m *RegisterEventRequest) GetIsSensitive() bool
- func (m *RegisterEventRequest) GetLevel() EventLevel
- func (m *RegisterEventRequest) GetMessage() string
- func (*RegisterEventRequest) ProtoMessage()
- func (m *RegisterEventRequest) Reset()
- func (m *RegisterEventRequest) String() string
- func (m *RegisterEventRequest) XXX_DiscardUnknown()
- func (m *RegisterEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterEventRequest) XXX_Merge(src proto.Message)
- func (m *RegisterEventRequest) XXX_Size() int
- func (m *RegisterEventRequest) XXX_Unmarshal(b []byte) error
- type RegisterEventResponse
- func (*RegisterEventResponse) Descriptor() ([]byte, []int)
- func (m *RegisterEventResponse) GetStatus() *ResponseStatus
- func (*RegisterEventResponse) ProtoMessage()
- func (m *RegisterEventResponse) Reset()
- func (m *RegisterEventResponse) String() string
- func (m *RegisterEventResponse) XXX_DiscardUnknown()
- func (m *RegisterEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterEventResponse) XXX_Merge(src proto.Message)
- func (m *RegisterEventResponse) XXX_Size() int
- func (m *RegisterEventResponse) XXX_Unmarshal(b []byte) error
- type ResponseStatus
- func (*ResponseStatus) Descriptor() ([]byte, []int)
- func (m *ResponseStatus) GetErrors() []*ResponseStatus_Error
- func (*ResponseStatus) ProtoMessage()
- func (m *ResponseStatus) Reset()
- func (m *ResponseStatus) String() string
- func (m *ResponseStatus) XXX_DiscardUnknown()
- func (m *ResponseStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseStatus) XXX_Merge(src proto.Message)
- func (m *ResponseStatus) XXX_Size() int
- func (m *ResponseStatus) XXX_Unmarshal(b []byte) error
- type ResponseStatus_Error
- func (*ResponseStatus_Error) Descriptor() ([]byte, []int)
- func (m *ResponseStatus_Error) GetMessage() string
- func (m *ResponseStatus_Error) GetSlug() string
- func (*ResponseStatus_Error) ProtoMessage()
- func (m *ResponseStatus_Error) Reset()
- func (m *ResponseStatus_Error) String() string
- func (m *ResponseStatus_Error) XXX_DiscardUnknown()
- func (m *ResponseStatus_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseStatus_Error) XXX_Merge(src proto.Message)
- func (m *ResponseStatus_Error) XXX_Size() int
- func (m *ResponseStatus_Error) XXX_Unmarshal(b []byte) error
- type SessionSubject
- func (*SessionSubject) Descriptor() ([]byte, []int)
- func (m *SessionSubject) GetActivatedAt() int64
- func (m *SessionSubject) GetAuthenticatedAt() int64
- func (m *SessionSubject) GetExpiresAt() int64
- func (*SessionSubject) ProtoMessage()
- func (m *SessionSubject) Reset()
- func (m *SessionSubject) String() string
- func (m *SessionSubject) XXX_DiscardUnknown()
- func (m *SessionSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SessionSubject) XXX_Merge(src proto.Message)
- func (m *SessionSubject) XXX_Size() int
- func (m *SessionSubject) XXX_Unmarshal(b []byte) error
- type SignInRequest
- func (*SignInRequest) Descriptor() ([]byte, []int)
- func (m *SignInRequest) GetActivationCodeDuration() string
- func (m *SignInRequest) GetClientIp() string
- func (m *SignInRequest) GetForwardedIps() []string
- func (m *SignInRequest) GetIdentifier() string
- func (m *SignInRequest) GetPassword() string
- func (m *SignInRequest) GetSessionId() string
- func (m *SignInRequest) GetSourceIp() string
- func (m *SignInRequest) GetUserAgent() string
- func (*SignInRequest) ProtoMessage()
- func (m *SignInRequest) Reset()
- func (m *SignInRequest) String() string
- 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) GetActivationMethod() ActivationMethod
- func (m *SignInResponse) GetProfile() *AccountProfile
- func (m *SignInResponse) GetStatus() *ResponseStatus
- func (m *SignInResponse) GetSubject() string
- func (*SignInResponse) ProtoMessage()
- func (m *SignInResponse) Reset()
- func (m *SignInResponse) String() string
- 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 UnimplementedAccountServiceServer
- func (*UnimplementedAccountServiceServer) ActivateSession(ctx context.Context, req *ActivateSessionRequest) (*ActivateSessionResponse, error)
- func (*UnimplementedAccountServiceServer) RegisterEvent(ctx context.Context, req *RegisterEventRequest) (*RegisterEventResponse, error)
- func (*UnimplementedAccountServiceServer) SignIn(ctx context.Context, req *SignInRequest) (*SignInResponse, error)
- type UnimplementedAuthorizationServiceServer
- func (*UnimplementedAuthorizationServiceServer) AuthorizeClient(ctx context.Context, req *AuthorizeClientRequest) (*AuthorizeClientResponse, error)
- func (*UnimplementedAuthorizationServiceServer) GrantScopes(ctx context.Context, req *GrantScopesRequest) (*GrantScopesResponse, error)
- func (*UnimplementedAuthorizationServiceServer) NewRefreshToken(ctx context.Context, req *NewRefreshTokenRequest) (*NewRefreshTokenResponse, error)
- type UnimplementedClientServiceServer
Constants ¶
This section is empty.
Variables ¶
var ActivationMethod_name = map[int32]string{
0: "NONE",
1: "EMAIL",
2: "SMS",
3: "GOOGLE_AUTHENTICATOR",
4: "WEBHOOK",
5: "WHATSAPP",
}
var ActivationMethod_value = map[string]int32{
"NONE": 0,
"EMAIL": 1,
"SMS": 2,
"GOOGLE_AUTHENTICATOR": 3,
"WEBHOOK": 4,
"WHATSAPP": 5,
}
var ClientType_name = map[int32]string{
0: "PUBLIC",
1: "CONFIDENTIAL",
}
var ClientType_value = map[string]int32{
"PUBLIC": 0,
"CONFIDENTIAL": 1,
}
var EventLevel_name = map[int32]string{
0: "INFO",
1: "WARNING",
}
var EventLevel_value = map[string]int32{
"INFO": 0,
"WARNING": 1,
}
Functions ¶
func RegisterAccountServiceServer ¶
func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
func RegisterAuthorizationServiceServer ¶
func RegisterAuthorizationServiceServer(s *grpc.Server, srv AuthorizationServiceServer)
func RegisterClientServiceServer ¶
func RegisterClientServiceServer(s *grpc.Server, srv ClientServiceServer)
Types ¶
type AccountProfile ¶
type AccountProfile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccountProfile) Descriptor ¶
func (*AccountProfile) Descriptor() ([]byte, []int)
func (*AccountProfile) GetName ¶
func (m *AccountProfile) GetName() string
func (*AccountProfile) ProtoMessage ¶
func (*AccountProfile) ProtoMessage()
func (*AccountProfile) Reset ¶
func (m *AccountProfile) Reset()
func (*AccountProfile) String ¶
func (m *AccountProfile) String() string
func (*AccountProfile) XXX_DiscardUnknown ¶
func (m *AccountProfile) XXX_DiscardUnknown()
func (*AccountProfile) XXX_Marshal ¶
func (m *AccountProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountProfile) XXX_Merge ¶
func (m *AccountProfile) XXX_Merge(src proto.Message)
func (*AccountProfile) XXX_Size ¶
func (m *AccountProfile) XXX_Size() int
func (*AccountProfile) XXX_Unmarshal ¶
func (m *AccountProfile) XXX_Unmarshal(b []byte) error
type AccountServiceClient ¶
type AccountServiceClient interface { SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error) ActivateSession(ctx context.Context, in *ActivateSessionRequest, opts ...grpc.CallOption) (*ActivateSessionResponse, error) RegisterEvent(ctx context.Context, in *RegisterEventRequest, opts ...grpc.CallOption) (*RegisterEventResponse, error) }
AccountServiceClient is the client API for AccountService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountServiceClient ¶
func NewAccountServiceClient(cc *grpc.ClientConn) AccountServiceClient
type AccountServiceServer ¶
type AccountServiceServer interface { SignIn(context.Context, *SignInRequest) (*SignInResponse, error) ActivateSession(context.Context, *ActivateSessionRequest) (*ActivateSessionResponse, error) RegisterEvent(context.Context, *RegisterEventRequest) (*RegisterEventResponse, error) }
AccountServiceServer is the server API for AccountService service.
type ActivateSessionRequest ¶
type ActivateSessionRequest struct { ActivationCode string `protobuf:"bytes,1,opt,name=activation_code,json=activationCode,proto3" json:"activation_code,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` SessionId string `protobuf:"bytes,4,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActivateSessionRequest) Descriptor ¶
func (*ActivateSessionRequest) Descriptor() ([]byte, []int)
func (*ActivateSessionRequest) GetActivationCode ¶
func (m *ActivateSessionRequest) GetActivationCode() string
func (*ActivateSessionRequest) GetSessionId ¶
func (m *ActivateSessionRequest) GetSessionId() string
func (*ActivateSessionRequest) GetSubject ¶
func (m *ActivateSessionRequest) GetSubject() string
func (*ActivateSessionRequest) GetUserAgent ¶
func (m *ActivateSessionRequest) GetUserAgent() string
func (*ActivateSessionRequest) ProtoMessage ¶
func (*ActivateSessionRequest) ProtoMessage()
func (*ActivateSessionRequest) Reset ¶
func (m *ActivateSessionRequest) Reset()
func (*ActivateSessionRequest) String ¶
func (m *ActivateSessionRequest) String() string
func (*ActivateSessionRequest) XXX_DiscardUnknown ¶
func (m *ActivateSessionRequest) XXX_DiscardUnknown()
func (*ActivateSessionRequest) XXX_Marshal ¶
func (m *ActivateSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActivateSessionRequest) XXX_Merge ¶
func (m *ActivateSessionRequest) XXX_Merge(src proto.Message)
func (*ActivateSessionRequest) XXX_Size ¶
func (m *ActivateSessionRequest) XXX_Size() int
func (*ActivateSessionRequest) XXX_Unmarshal ¶
func (m *ActivateSessionRequest) XXX_Unmarshal(b []byte) error
type ActivateSessionResponse ¶
type ActivateSessionResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActivateSessionResponse) Descriptor ¶
func (*ActivateSessionResponse) Descriptor() ([]byte, []int)
func (*ActivateSessionResponse) GetStatus ¶
func (m *ActivateSessionResponse) GetStatus() *ResponseStatus
func (*ActivateSessionResponse) ProtoMessage ¶
func (*ActivateSessionResponse) ProtoMessage()
func (*ActivateSessionResponse) Reset ¶
func (m *ActivateSessionResponse) Reset()
func (*ActivateSessionResponse) String ¶
func (m *ActivateSessionResponse) String() string
func (*ActivateSessionResponse) XXX_DiscardUnknown ¶
func (m *ActivateSessionResponse) XXX_DiscardUnknown()
func (*ActivateSessionResponse) XXX_Marshal ¶
func (m *ActivateSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActivateSessionResponse) XXX_Merge ¶
func (m *ActivateSessionResponse) XXX_Merge(src proto.Message)
func (*ActivateSessionResponse) XXX_Size ¶
func (m *ActivateSessionResponse) XXX_Size() int
func (*ActivateSessionResponse) XXX_Unmarshal ¶
func (m *ActivateSessionResponse) XXX_Unmarshal(b []byte) error
type ActivationMethod ¶
type ActivationMethod int32
const ( ActivationMethod_NONE ActivationMethod = 0 ActivationMethod_EMAIL ActivationMethod = 1 ActivationMethod_SMS ActivationMethod = 2 ActivationMethod_GOOGLE_AUTHENTICATOR ActivationMethod = 3 ActivationMethod_WEBHOOK ActivationMethod = 4 ActivationMethod_WHATSAPP ActivationMethod = 5 )
func (ActivationMethod) EnumDescriptor ¶
func (ActivationMethod) EnumDescriptor() ([]byte, []int)
func (ActivationMethod) String ¶
func (x ActivationMethod) String() string
type AuthorizationServiceClient ¶
type AuthorizationServiceClient interface { AuthorizeClient(ctx context.Context, in *AuthorizeClientRequest, opts ...grpc.CallOption) (*AuthorizeClientResponse, error) GrantScopes(ctx context.Context, in *GrantScopesRequest, opts ...grpc.CallOption) (*GrantScopesResponse, error) NewRefreshToken(ctx context.Context, in *NewRefreshTokenRequest, opts ...grpc.CallOption) (*NewRefreshTokenResponse, 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.ClientConn) AuthorizationServiceClient
type AuthorizationServiceServer ¶
type AuthorizationServiceServer interface { AuthorizeClient(context.Context, *AuthorizeClientRequest) (*AuthorizeClientResponse, error) GrantScopes(context.Context, *GrantScopesRequest) (*GrantScopesResponse, error) NewRefreshToken(context.Context, *NewRefreshTokenRequest) (*NewRefreshTokenResponse, error) }
AuthorizationServiceServer is the server API for AuthorizationService service.
type AuthorizeClientRequest ¶
type AuthorizeClientRequest struct { Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ResponseType string `protobuf:"bytes,3,opt,name=response_type,json=responseType,proto3" json:"response_type,omitempty"` RedirectUri string `protobuf:"bytes,4,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` Scopes []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"` State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthorizeClientRequest) Descriptor ¶
func (*AuthorizeClientRequest) Descriptor() ([]byte, []int)
func (*AuthorizeClientRequest) GetClientId ¶
func (m *AuthorizeClientRequest) GetClientId() string
func (*AuthorizeClientRequest) GetRedirectUri ¶
func (m *AuthorizeClientRequest) GetRedirectUri() string
func (*AuthorizeClientRequest) GetResponseType ¶
func (m *AuthorizeClientRequest) GetResponseType() string
func (*AuthorizeClientRequest) GetScopes ¶
func (m *AuthorizeClientRequest) GetScopes() []string
func (*AuthorizeClientRequest) GetState ¶
func (m *AuthorizeClientRequest) GetState() string
func (*AuthorizeClientRequest) GetSubject ¶
func (m *AuthorizeClientRequest) GetSubject() string
func (*AuthorizeClientRequest) ProtoMessage ¶
func (*AuthorizeClientRequest) ProtoMessage()
func (*AuthorizeClientRequest) Reset ¶
func (m *AuthorizeClientRequest) Reset()
func (*AuthorizeClientRequest) String ¶
func (m *AuthorizeClientRequest) String() string
func (*AuthorizeClientRequest) XXX_DiscardUnknown ¶
func (m *AuthorizeClientRequest) XXX_DiscardUnknown()
func (*AuthorizeClientRequest) XXX_Marshal ¶
func (m *AuthorizeClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthorizeClientRequest) XXX_Merge ¶
func (m *AuthorizeClientRequest) XXX_Merge(src proto.Message)
func (*AuthorizeClientRequest) XXX_Size ¶
func (m *AuthorizeClientRequest) XXX_Size() int
func (*AuthorizeClientRequest) XXX_Unmarshal ¶
func (m *AuthorizeClientRequest) XXX_Unmarshal(b []byte) error
type AuthorizeClientResponse ¶
type AuthorizeClientResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` ClientName string `protobuf:"bytes,3,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthorizeClientResponse) Descriptor ¶
func (*AuthorizeClientResponse) Descriptor() ([]byte, []int)
func (*AuthorizeClientResponse) GetClientName ¶
func (m *AuthorizeClientResponse) GetClientName() string
func (*AuthorizeClientResponse) GetStatus ¶
func (m *AuthorizeClientResponse) GetStatus() *ResponseStatus
func (*AuthorizeClientResponse) GetUnauthorizedScopes ¶
func (m *AuthorizeClientResponse) GetUnauthorizedScopes() []string
func (*AuthorizeClientResponse) ProtoMessage ¶
func (*AuthorizeClientResponse) ProtoMessage()
func (*AuthorizeClientResponse) Reset ¶
func (m *AuthorizeClientResponse) Reset()
func (*AuthorizeClientResponse) String ¶
func (m *AuthorizeClientResponse) String() string
func (*AuthorizeClientResponse) XXX_DiscardUnknown ¶
func (m *AuthorizeClientResponse) XXX_DiscardUnknown()
func (*AuthorizeClientResponse) XXX_Marshal ¶
func (m *AuthorizeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthorizeClientResponse) XXX_Merge ¶
func (m *AuthorizeClientResponse) XXX_Merge(src proto.Message)
func (*AuthorizeClientResponse) XXX_Size ¶
func (m *AuthorizeClientResponse) XXX_Size() int
func (*AuthorizeClientResponse) XXX_Unmarshal ¶
func (m *AuthorizeClientResponse) XXX_Unmarshal(b []byte) error
type ClientServiceClient ¶
type ClientServiceClient interface { CreateClient(ctx context.Context, in *CreateClientRequest, opts ...grpc.CallOption) (*CreateClientResponse, error) CreateScope(ctx context.Context, in *CreateScopeRequest, opts ...grpc.CallOption) (*CreateScopeResponse, error) }
ClientServiceClient is the client API for ClientService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClientServiceClient ¶
func NewClientServiceClient(cc *grpc.ClientConn) ClientServiceClient
type ClientServiceServer ¶
type ClientServiceServer interface { CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error) CreateScope(context.Context, *CreateScopeRequest) (*CreateScopeResponse, error) }
ClientServiceServer is the server API for ClientService service.
type ClientType ¶
type ClientType int32
const ( ClientType_PUBLIC ClientType = 0 ClientType_CONFIDENTIAL ClientType = 1 )
func (ClientType) EnumDescriptor ¶
func (ClientType) EnumDescriptor() ([]byte, []int)
func (ClientType) String ¶
func (x ClientType) String() string
type CreateClientRequest ¶
type CreateClientRequest struct { Type ClientType `protobuf:"varint,1,opt,name=type,proto3,enum=sso.ClientType" json:"type,omitempty"` RedirectUris []string `protobuf:"bytes,2,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateClientRequest) Descriptor ¶
func (*CreateClientRequest) Descriptor() ([]byte, []int)
func (*CreateClientRequest) GetName ¶
func (m *CreateClientRequest) GetName() string
func (*CreateClientRequest) GetRedirectUris ¶
func (m *CreateClientRequest) GetRedirectUris() []string
func (*CreateClientRequest) GetType ¶
func (m *CreateClientRequest) GetType() ClientType
func (*CreateClientRequest) ProtoMessage ¶
func (*CreateClientRequest) ProtoMessage()
func (*CreateClientRequest) Reset ¶
func (m *CreateClientRequest) Reset()
func (*CreateClientRequest) String ¶
func (m *CreateClientRequest) String() string
func (*CreateClientRequest) XXX_DiscardUnknown ¶
func (m *CreateClientRequest) XXX_DiscardUnknown()
func (*CreateClientRequest) XXX_Marshal ¶
func (m *CreateClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClientRequest) XXX_Merge ¶
func (m *CreateClientRequest) XXX_Merge(src proto.Message)
func (*CreateClientRequest) XXX_Size ¶
func (m *CreateClientRequest) XXX_Size() int
func (*CreateClientRequest) XXX_Unmarshal ¶
func (m *CreateClientRequest) XXX_Unmarshal(b []byte) error
type CreateClientResponse ¶
type CreateClientResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateClientResponse) Descriptor ¶
func (*CreateClientResponse) Descriptor() ([]byte, []int)
func (*CreateClientResponse) GetClientId ¶
func (m *CreateClientResponse) GetClientId() string
func (*CreateClientResponse) GetClientSecret ¶
func (m *CreateClientResponse) GetClientSecret() string
func (*CreateClientResponse) GetStatus ¶
func (m *CreateClientResponse) GetStatus() *ResponseStatus
func (*CreateClientResponse) ProtoMessage ¶
func (*CreateClientResponse) ProtoMessage()
func (*CreateClientResponse) Reset ¶
func (m *CreateClientResponse) Reset()
func (*CreateClientResponse) String ¶
func (m *CreateClientResponse) String() string
func (*CreateClientResponse) XXX_DiscardUnknown ¶
func (m *CreateClientResponse) XXX_DiscardUnknown()
func (*CreateClientResponse) XXX_Marshal ¶
func (m *CreateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClientResponse) XXX_Merge ¶
func (m *CreateClientResponse) XXX_Merge(src proto.Message)
func (*CreateClientResponse) XXX_Size ¶
func (m *CreateClientResponse) XXX_Size() int
func (*CreateClientResponse) XXX_Unmarshal ¶
func (m *CreateClientResponse) XXX_Unmarshal(b []byte) error
type CreateScopeRequest ¶
type CreateScopeRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateScopeRequest) Descriptor ¶
func (*CreateScopeRequest) Descriptor() ([]byte, []int)
func (*CreateScopeRequest) GetClientId ¶
func (m *CreateScopeRequest) GetClientId() string
func (*CreateScopeRequest) GetDescription ¶
func (m *CreateScopeRequest) GetDescription() string
func (*CreateScopeRequest) GetScope ¶
func (m *CreateScopeRequest) GetScope() string
func (*CreateScopeRequest) ProtoMessage ¶
func (*CreateScopeRequest) ProtoMessage()
func (*CreateScopeRequest) Reset ¶
func (m *CreateScopeRequest) Reset()
func (*CreateScopeRequest) String ¶
func (m *CreateScopeRequest) String() string
func (*CreateScopeRequest) XXX_DiscardUnknown ¶
func (m *CreateScopeRequest) XXX_DiscardUnknown()
func (*CreateScopeRequest) XXX_Marshal ¶
func (m *CreateScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateScopeRequest) XXX_Merge ¶
func (m *CreateScopeRequest) XXX_Merge(src proto.Message)
func (*CreateScopeRequest) XXX_Size ¶
func (m *CreateScopeRequest) XXX_Size() int
func (*CreateScopeRequest) XXX_Unmarshal ¶
func (m *CreateScopeRequest) XXX_Unmarshal(b []byte) error
type CreateScopeResponse ¶
type CreateScopeResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` ScopeId string `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateScopeResponse) Descriptor ¶
func (*CreateScopeResponse) Descriptor() ([]byte, []int)
func (*CreateScopeResponse) GetScopeId ¶
func (m *CreateScopeResponse) GetScopeId() string
func (*CreateScopeResponse) GetStatus ¶
func (m *CreateScopeResponse) GetStatus() *ResponseStatus
func (*CreateScopeResponse) ProtoMessage ¶
func (*CreateScopeResponse) ProtoMessage()
func (*CreateScopeResponse) Reset ¶
func (m *CreateScopeResponse) Reset()
func (*CreateScopeResponse) String ¶
func (m *CreateScopeResponse) String() string
func (*CreateScopeResponse) XXX_DiscardUnknown ¶
func (m *CreateScopeResponse) XXX_DiscardUnknown()
func (*CreateScopeResponse) XXX_Marshal ¶
func (m *CreateScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateScopeResponse) XXX_Merge ¶
func (m *CreateScopeResponse) XXX_Merge(src proto.Message)
func (*CreateScopeResponse) XXX_Size ¶
func (m *CreateScopeResponse) XXX_Size() int
func (*CreateScopeResponse) XXX_Unmarshal ¶
func (m *CreateScopeResponse) XXX_Unmarshal(b []byte) error
type EventLevel ¶
type EventLevel int32
const ( EventLevel_INFO EventLevel = 0 EventLevel_WARNING EventLevel = 1 )
func (EventLevel) EnumDescriptor ¶
func (EventLevel) EnumDescriptor() ([]byte, []int)
func (EventLevel) String ¶
func (x EventLevel) String() string
type GrantScopesRequest ¶
type GrantScopesRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` Scopes []string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GrantScopesRequest) Descriptor ¶
func (*GrantScopesRequest) Descriptor() ([]byte, []int)
func (*GrantScopesRequest) GetClientId ¶
func (m *GrantScopesRequest) GetClientId() string
func (*GrantScopesRequest) GetScopes ¶
func (m *GrantScopesRequest) GetScopes() []string
func (*GrantScopesRequest) GetSubject ¶
func (m *GrantScopesRequest) GetSubject() string
func (*GrantScopesRequest) ProtoMessage ¶
func (*GrantScopesRequest) ProtoMessage()
func (*GrantScopesRequest) Reset ¶
func (m *GrantScopesRequest) Reset()
func (*GrantScopesRequest) String ¶
func (m *GrantScopesRequest) String() string
func (*GrantScopesRequest) XXX_DiscardUnknown ¶
func (m *GrantScopesRequest) XXX_DiscardUnknown()
func (*GrantScopesRequest) XXX_Marshal ¶
func (m *GrantScopesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GrantScopesRequest) XXX_Merge ¶
func (m *GrantScopesRequest) XXX_Merge(src proto.Message)
func (*GrantScopesRequest) XXX_Size ¶
func (m *GrantScopesRequest) XXX_Size() int
func (*GrantScopesRequest) XXX_Unmarshal ¶
func (m *GrantScopesRequest) XXX_Unmarshal(b []byte) error
type GrantScopesResponse ¶
type GrantScopesResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GrantScopesResponse) Descriptor ¶
func (*GrantScopesResponse) Descriptor() ([]byte, []int)
func (*GrantScopesResponse) GetStatus ¶
func (m *GrantScopesResponse) GetStatus() *ResponseStatus
func (*GrantScopesResponse) ProtoMessage ¶
func (*GrantScopesResponse) ProtoMessage()
func (*GrantScopesResponse) Reset ¶
func (m *GrantScopesResponse) Reset()
func (*GrantScopesResponse) String ¶
func (m *GrantScopesResponse) String() string
func (*GrantScopesResponse) XXX_DiscardUnknown ¶
func (m *GrantScopesResponse) XXX_DiscardUnknown()
func (*GrantScopesResponse) XXX_Marshal ¶
func (m *GrantScopesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GrantScopesResponse) XXX_Merge ¶
func (m *GrantScopesResponse) XXX_Merge(src proto.Message)
func (*GrantScopesResponse) XXX_Size ¶
func (m *GrantScopesResponse) XXX_Size() int
func (*GrantScopesResponse) XXX_Unmarshal ¶
func (m *GrantScopesResponse) XXX_Unmarshal(b []byte) error
type NewRefreshTokenRequest ¶
type NewRefreshTokenRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` AuthorizationCode string `protobuf:"bytes,4,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"` Duration string `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` ForceNew bool `protobuf:"varint,6,opt,name=force_new,json=forceNew,proto3" json:"force_new,omitempty"` ClientSecret string `protobuf:"bytes,7,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` RedirectUri string `protobuf:"bytes,8,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` Scopes []string `protobuf:"bytes,9,rep,name=scopes,proto3" json:"scopes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewRefreshTokenRequest) Descriptor ¶
func (*NewRefreshTokenRequest) Descriptor() ([]byte, []int)
func (*NewRefreshTokenRequest) GetAuthorizationCode ¶
func (m *NewRefreshTokenRequest) GetAuthorizationCode() string
func (*NewRefreshTokenRequest) GetClientId ¶
func (m *NewRefreshTokenRequest) GetClientId() string
func (*NewRefreshTokenRequest) GetClientSecret ¶
func (m *NewRefreshTokenRequest) GetClientSecret() string
func (*NewRefreshTokenRequest) GetDuration ¶
func (m *NewRefreshTokenRequest) GetDuration() string
func (*NewRefreshTokenRequest) GetForceNew ¶
func (m *NewRefreshTokenRequest) GetForceNew() bool
func (*NewRefreshTokenRequest) GetRedirectUri ¶
func (m *NewRefreshTokenRequest) GetRedirectUri() string
func (*NewRefreshTokenRequest) GetScopes ¶
func (m *NewRefreshTokenRequest) GetScopes() []string
func (*NewRefreshTokenRequest) GetSessionId ¶
func (m *NewRefreshTokenRequest) GetSessionId() string
func (*NewRefreshTokenRequest) GetSubject ¶
func (m *NewRefreshTokenRequest) GetSubject() string
func (*NewRefreshTokenRequest) ProtoMessage ¶
func (*NewRefreshTokenRequest) ProtoMessage()
func (*NewRefreshTokenRequest) Reset ¶
func (m *NewRefreshTokenRequest) Reset()
func (*NewRefreshTokenRequest) String ¶
func (m *NewRefreshTokenRequest) String() string
func (*NewRefreshTokenRequest) XXX_DiscardUnknown ¶
func (m *NewRefreshTokenRequest) XXX_DiscardUnknown()
func (*NewRefreshTokenRequest) XXX_Marshal ¶
func (m *NewRefreshTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewRefreshTokenRequest) XXX_Merge ¶
func (m *NewRefreshTokenRequest) XXX_Merge(src proto.Message)
func (*NewRefreshTokenRequest) XXX_Size ¶
func (m *NewRefreshTokenRequest) XXX_Size() int
func (*NewRefreshTokenRequest) XXX_Unmarshal ¶
func (m *NewRefreshTokenRequest) XXX_Unmarshal(b []byte) error
type NewRefreshTokenResponse ¶
type NewRefreshTokenResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` RefreshTokenId string `protobuf:"bytes,2,opt,name=refresh_token_id,json=refreshTokenId,proto3" json:"refresh_token_id,omitempty"` ExpiresAt int64 `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewRefreshTokenResponse) Descriptor ¶
func (*NewRefreshTokenResponse) Descriptor() ([]byte, []int)
func (*NewRefreshTokenResponse) GetExpiresAt ¶
func (m *NewRefreshTokenResponse) GetExpiresAt() int64
func (*NewRefreshTokenResponse) GetRefreshTokenId ¶
func (m *NewRefreshTokenResponse) GetRefreshTokenId() string
func (*NewRefreshTokenResponse) GetStatus ¶
func (m *NewRefreshTokenResponse) GetStatus() *ResponseStatus
func (*NewRefreshTokenResponse) ProtoMessage ¶
func (*NewRefreshTokenResponse) ProtoMessage()
func (*NewRefreshTokenResponse) Reset ¶
func (m *NewRefreshTokenResponse) Reset()
func (*NewRefreshTokenResponse) String ¶
func (m *NewRefreshTokenResponse) String() string
func (*NewRefreshTokenResponse) XXX_DiscardUnknown ¶
func (m *NewRefreshTokenResponse) XXX_DiscardUnknown()
func (*NewRefreshTokenResponse) XXX_Marshal ¶
func (m *NewRefreshTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewRefreshTokenResponse) XXX_Merge ¶
func (m *NewRefreshTokenResponse) XXX_Merge(src proto.Message)
func (*NewRefreshTokenResponse) XXX_Size ¶
func (m *NewRefreshTokenResponse) XXX_Size() int
func (*NewRefreshTokenResponse) XXX_Unmarshal ¶
func (m *NewRefreshTokenResponse) XXX_Unmarshal(b []byte) error
type RegisterEventRequest ¶
type RegisterEventRequest struct { Level EventLevel `protobuf:"varint,1,opt,name=level,proto3,enum=sso.EventLevel" json:"level,omitempty"` IsSensitive bool `protobuf:"varint,2,opt,name=is_sensitive,json=isSensitive,proto3" json:"is_sensitive,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Data map[string]string `` /* 149-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterEventRequest) Descriptor ¶
func (*RegisterEventRequest) Descriptor() ([]byte, []int)
func (*RegisterEventRequest) GetData ¶
func (m *RegisterEventRequest) GetData() map[string]string
func (*RegisterEventRequest) GetIsSensitive ¶
func (m *RegisterEventRequest) GetIsSensitive() bool
func (*RegisterEventRequest) GetLevel ¶
func (m *RegisterEventRequest) GetLevel() EventLevel
func (*RegisterEventRequest) GetMessage ¶
func (m *RegisterEventRequest) GetMessage() string
func (*RegisterEventRequest) ProtoMessage ¶
func (*RegisterEventRequest) ProtoMessage()
func (*RegisterEventRequest) Reset ¶
func (m *RegisterEventRequest) Reset()
func (*RegisterEventRequest) String ¶
func (m *RegisterEventRequest) String() string
func (*RegisterEventRequest) XXX_DiscardUnknown ¶
func (m *RegisterEventRequest) XXX_DiscardUnknown()
func (*RegisterEventRequest) XXX_Marshal ¶
func (m *RegisterEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterEventRequest) XXX_Merge ¶
func (m *RegisterEventRequest) XXX_Merge(src proto.Message)
func (*RegisterEventRequest) XXX_Size ¶
func (m *RegisterEventRequest) XXX_Size() int
func (*RegisterEventRequest) XXX_Unmarshal ¶
func (m *RegisterEventRequest) XXX_Unmarshal(b []byte) error
type RegisterEventResponse ¶
type RegisterEventResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterEventResponse) Descriptor ¶
func (*RegisterEventResponse) Descriptor() ([]byte, []int)
func (*RegisterEventResponse) GetStatus ¶
func (m *RegisterEventResponse) GetStatus() *ResponseStatus
func (*RegisterEventResponse) ProtoMessage ¶
func (*RegisterEventResponse) ProtoMessage()
func (*RegisterEventResponse) Reset ¶
func (m *RegisterEventResponse) Reset()
func (*RegisterEventResponse) String ¶
func (m *RegisterEventResponse) String() string
func (*RegisterEventResponse) XXX_DiscardUnknown ¶
func (m *RegisterEventResponse) XXX_DiscardUnknown()
func (*RegisterEventResponse) XXX_Marshal ¶
func (m *RegisterEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterEventResponse) XXX_Merge ¶
func (m *RegisterEventResponse) XXX_Merge(src proto.Message)
func (*RegisterEventResponse) XXX_Size ¶
func (m *RegisterEventResponse) XXX_Size() int
func (*RegisterEventResponse) XXX_Unmarshal ¶
func (m *RegisterEventResponse) XXX_Unmarshal(b []byte) error
type ResponseStatus ¶
type ResponseStatus struct { Errors []*ResponseStatus_Error `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseStatus) Descriptor ¶
func (*ResponseStatus) Descriptor() ([]byte, []int)
func (*ResponseStatus) GetErrors ¶
func (m *ResponseStatus) GetErrors() []*ResponseStatus_Error
func (*ResponseStatus) ProtoMessage ¶
func (*ResponseStatus) ProtoMessage()
func (*ResponseStatus) Reset ¶
func (m *ResponseStatus) Reset()
func (*ResponseStatus) String ¶
func (m *ResponseStatus) String() string
func (*ResponseStatus) XXX_DiscardUnknown ¶
func (m *ResponseStatus) XXX_DiscardUnknown()
func (*ResponseStatus) XXX_Marshal ¶
func (m *ResponseStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseStatus) XXX_Merge ¶
func (m *ResponseStatus) XXX_Merge(src proto.Message)
func (*ResponseStatus) XXX_Size ¶
func (m *ResponseStatus) XXX_Size() int
func (*ResponseStatus) XXX_Unmarshal ¶
func (m *ResponseStatus) XXX_Unmarshal(b []byte) error
type ResponseStatus_Error ¶
type ResponseStatus_Error struct { Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseStatus_Error) Descriptor ¶
func (*ResponseStatus_Error) Descriptor() ([]byte, []int)
func (*ResponseStatus_Error) GetMessage ¶
func (m *ResponseStatus_Error) GetMessage() string
func (*ResponseStatus_Error) GetSlug ¶
func (m *ResponseStatus_Error) GetSlug() string
func (*ResponseStatus_Error) ProtoMessage ¶
func (*ResponseStatus_Error) ProtoMessage()
func (*ResponseStatus_Error) Reset ¶
func (m *ResponseStatus_Error) Reset()
func (*ResponseStatus_Error) String ¶
func (m *ResponseStatus_Error) String() string
func (*ResponseStatus_Error) XXX_DiscardUnknown ¶
func (m *ResponseStatus_Error) XXX_DiscardUnknown()
func (*ResponseStatus_Error) XXX_Marshal ¶
func (m *ResponseStatus_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseStatus_Error) XXX_Merge ¶
func (m *ResponseStatus_Error) XXX_Merge(src proto.Message)
func (*ResponseStatus_Error) XXX_Size ¶
func (m *ResponseStatus_Error) XXX_Size() int
func (*ResponseStatus_Error) XXX_Unmarshal ¶
func (m *ResponseStatus_Error) XXX_Unmarshal(b []byte) error
type SessionSubject ¶
type SessionSubject struct { AuthenticatedAt int64 `protobuf:"varint,1,opt,name=authenticated_at,json=authenticatedAt,proto3" json:"authenticated_at,omitempty"` ActivatedAt int64 `protobuf:"varint,2,opt,name=activated_at,json=activatedAt,proto3" json:"activated_at,omitempty"` ExpiresAt int64 `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SessionSubject) Descriptor ¶
func (*SessionSubject) Descriptor() ([]byte, []int)
func (*SessionSubject) GetActivatedAt ¶
func (m *SessionSubject) GetActivatedAt() int64
func (*SessionSubject) GetAuthenticatedAt ¶
func (m *SessionSubject) GetAuthenticatedAt() int64
func (*SessionSubject) GetExpiresAt ¶
func (m *SessionSubject) GetExpiresAt() int64
func (*SessionSubject) ProtoMessage ¶
func (*SessionSubject) ProtoMessage()
func (*SessionSubject) Reset ¶
func (m *SessionSubject) Reset()
func (*SessionSubject) String ¶
func (m *SessionSubject) String() string
func (*SessionSubject) XXX_DiscardUnknown ¶
func (m *SessionSubject) XXX_DiscardUnknown()
func (*SessionSubject) XXX_Marshal ¶
func (m *SessionSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SessionSubject) XXX_Merge ¶
func (m *SessionSubject) XXX_Merge(src proto.Message)
func (*SessionSubject) XXX_Size ¶
func (m *SessionSubject) XXX_Size() int
func (*SessionSubject) XXX_Unmarshal ¶
func (m *SessionSubject) XXX_Unmarshal(b []byte) error
type SignInRequest ¶
type SignInRequest struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` SourceIp string `protobuf:"bytes,4,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"` ClientIp string `protobuf:"bytes,5,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` ForwardedIps []string `protobuf:"bytes,6,rep,name=forwarded_ips,json=forwardedIps,proto3" json:"forwarded_ips,omitempty"` SessionId string `protobuf:"bytes,7,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` ActivationCodeDuration string `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignInRequest) Descriptor ¶
func (*SignInRequest) Descriptor() ([]byte, []int)
func (*SignInRequest) GetActivationCodeDuration ¶
func (m *SignInRequest) GetActivationCodeDuration() string
func (*SignInRequest) GetClientIp ¶
func (m *SignInRequest) GetClientIp() string
func (*SignInRequest) GetForwardedIps ¶
func (m *SignInRequest) GetForwardedIps() []string
func (*SignInRequest) GetIdentifier ¶
func (m *SignInRequest) GetIdentifier() string
func (*SignInRequest) GetPassword ¶
func (m *SignInRequest) GetPassword() string
func (*SignInRequest) GetSessionId ¶
func (m *SignInRequest) GetSessionId() string
func (*SignInRequest) GetSourceIp ¶
func (m *SignInRequest) GetSourceIp() string
func (*SignInRequest) GetUserAgent ¶
func (m *SignInRequest) GetUserAgent() string
func (*SignInRequest) ProtoMessage ¶
func (*SignInRequest) ProtoMessage()
func (*SignInRequest) Reset ¶
func (m *SignInRequest) Reset()
func (*SignInRequest) String ¶
func (m *SignInRequest) String() string
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 { Status *ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` ActivationMethod ActivationMethod `` /* 136-byte string literal not displayed */ Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` Profile *AccountProfile `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignInResponse) Descriptor ¶
func (*SignInResponse) Descriptor() ([]byte, []int)
func (*SignInResponse) GetActivationMethod ¶
func (m *SignInResponse) GetActivationMethod() ActivationMethod
func (*SignInResponse) GetProfile ¶
func (m *SignInResponse) GetProfile() *AccountProfile
func (*SignInResponse) GetStatus ¶
func (m *SignInResponse) GetStatus() *ResponseStatus
func (*SignInResponse) GetSubject ¶
func (m *SignInResponse) GetSubject() string
func (*SignInResponse) ProtoMessage ¶
func (*SignInResponse) ProtoMessage()
func (*SignInResponse) Reset ¶
func (m *SignInResponse) Reset()
func (*SignInResponse) String ¶
func (m *SignInResponse) String() string
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 UnimplementedAccountServiceServer ¶
type UnimplementedAccountServiceServer struct { }
UnimplementedAccountServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountServiceServer) ActivateSession ¶
func (*UnimplementedAccountServiceServer) ActivateSession(ctx context.Context, req *ActivateSessionRequest) (*ActivateSessionResponse, error)
func (*UnimplementedAccountServiceServer) RegisterEvent ¶
func (*UnimplementedAccountServiceServer) RegisterEvent(ctx context.Context, req *RegisterEventRequest) (*RegisterEventResponse, error)
func (*UnimplementedAccountServiceServer) SignIn ¶
func (*UnimplementedAccountServiceServer) SignIn(ctx context.Context, req *SignInRequest) (*SignInResponse, error)
type UnimplementedAuthorizationServiceServer ¶
type UnimplementedAuthorizationServiceServer struct { }
UnimplementedAuthorizationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthorizationServiceServer) AuthorizeClient ¶
func (*UnimplementedAuthorizationServiceServer) AuthorizeClient(ctx context.Context, req *AuthorizeClientRequest) (*AuthorizeClientResponse, error)
func (*UnimplementedAuthorizationServiceServer) GrantScopes ¶
func (*UnimplementedAuthorizationServiceServer) GrantScopes(ctx context.Context, req *GrantScopesRequest) (*GrantScopesResponse, error)
func (*UnimplementedAuthorizationServiceServer) NewRefreshToken ¶
func (*UnimplementedAuthorizationServiceServer) NewRefreshToken(ctx context.Context, req *NewRefreshTokenRequest) (*NewRefreshTokenResponse, error)
type UnimplementedClientServiceServer ¶
type UnimplementedClientServiceServer struct { }
UnimplementedClientServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedClientServiceServer) CreateClient ¶
func (*UnimplementedClientServiceServer) CreateClient(ctx context.Context, req *CreateClientRequest) (*CreateClientResponse, error)
func (*UnimplementedClientServiceServer) CreateScope ¶
func (*UnimplementedClientServiceServer) CreateScope(ctx context.Context, req *CreateScopeRequest) (*CreateScopeResponse, error)