Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterConsentServiceServer(s grpc.ServiceRegistrar, srv ConsentServiceServer)
- func RegisterInternalOAuthClientsServiceServer(s grpc.ServiceRegistrar, srv InternalOAuthClientsServiceServer)
- func RegisterInternalOAuthSessionsServiceServer(s grpc.ServiceRegistrar, srv InternalOAuthSessionsServiceServer)
- func RegisterLoginServiceServer(s grpc.ServiceRegistrar, srv LoginServiceServer)
- type AuthServiceClient
- type AuthServiceServer
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetClientId() string
- func (x *Client) GetClientName() string
- func (x *Client) GetClientOwner() string
- func (x *Client) GetCreatedAt() *timestamppb.Timestamp
- func (x *Client) GetScopes() []string
- func (x *Client) GetTrusted() bool
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (x *Client) String() string
- type ConsentServiceAcceptRequest
- func (*ConsentServiceAcceptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConsentServiceAcceptRequest) GetChallenge() string
- func (x *ConsentServiceAcceptRequest) GetGrantedScopes() []string
- func (*ConsentServiceAcceptRequest) ProtoMessage()
- func (x *ConsentServiceAcceptRequest) ProtoReflect() protoreflect.Message
- func (x *ConsentServiceAcceptRequest) Reset()
- func (x *ConsentServiceAcceptRequest) String() string
- type ConsentServiceAcceptResponse
- func (*ConsentServiceAcceptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConsentServiceAcceptResponse) GetRedirectTo() string
- func (*ConsentServiceAcceptResponse) ProtoMessage()
- func (x *ConsentServiceAcceptResponse) ProtoReflect() protoreflect.Message
- func (x *ConsentServiceAcceptResponse) Reset()
- func (x *ConsentServiceAcceptResponse) String() string
- type ConsentServiceClient
- type ConsentServiceGetRequest
- func (*ConsentServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConsentServiceGetRequest) GetChallenge() string
- func (*ConsentServiceGetRequest) ProtoMessage()
- func (x *ConsentServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *ConsentServiceGetRequest) Reset()
- func (x *ConsentServiceGetRequest) String() string
- type ConsentServiceGetResponse
- func (*ConsentServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConsentServiceGetResponse) GetClient() *Client
- func (x *ConsentServiceGetResponse) GetRequestedScopes() []string
- func (x *ConsentServiceGetResponse) GetSkip() bool
- func (x *ConsentServiceGetResponse) GetSubject() string
- func (*ConsentServiceGetResponse) ProtoMessage()
- func (x *ConsentServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *ConsentServiceGetResponse) Reset()
- func (x *ConsentServiceGetResponse) String() string
- type ConsentServiceRejectRequest
- func (*ConsentServiceRejectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConsentServiceRejectRequest) GetChallenge() string
- func (*ConsentServiceRejectRequest) ProtoMessage()
- func (x *ConsentServiceRejectRequest) ProtoReflect() protoreflect.Message
- func (x *ConsentServiceRejectRequest) Reset()
- func (x *ConsentServiceRejectRequest) String() string
- type ConsentServiceRejectResponse
- func (*ConsentServiceRejectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConsentServiceRejectResponse) GetRedirectTo() string
- func (*ConsentServiceRejectResponse) ProtoMessage()
- func (x *ConsentServiceRejectResponse) ProtoReflect() protoreflect.Message
- func (x *ConsentServiceRejectResponse) Reset()
- func (x *ConsentServiceRejectResponse) String() string
- type ConsentServiceServer
- type HealthRequest
- type HealthResponse
- type InternalOAuthClientsServiceClient
- type InternalOAuthClientsServiceCreateClientRequest
- func (*InternalOAuthClientsServiceCreateClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetClientId() string
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetClientName() string
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetClientSecret() string
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetCreatedAt() *timestamppb.Timestamp
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetGrantTypes() []string
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetOwner() string
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetPublic() bool
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetRedirectUris() []string
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetResponseTypes() []string
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetScopes() []string
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetTrusted() bool
- func (x *InternalOAuthClientsServiceCreateClientRequest) GetUpdatedAt() *timestamppb.Timestamp
- func (*InternalOAuthClientsServiceCreateClientRequest) ProtoMessage()
- func (x *InternalOAuthClientsServiceCreateClientRequest) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthClientsServiceCreateClientRequest) Reset()
- func (x *InternalOAuthClientsServiceCreateClientRequest) String() string
- type InternalOAuthClientsServiceCreateClientResponse
- func (*InternalOAuthClientsServiceCreateClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOAuthClientsServiceCreateClientResponse) GetClient() *ManagedClient
- func (*InternalOAuthClientsServiceCreateClientResponse) ProtoMessage()
- func (x *InternalOAuthClientsServiceCreateClientResponse) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthClientsServiceCreateClientResponse) Reset()
- func (x *InternalOAuthClientsServiceCreateClientResponse) String() string
- type InternalOAuthClientsServiceDeleteClientRequest
- func (*InternalOAuthClientsServiceDeleteClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOAuthClientsServiceDeleteClientRequest) GetClientId() string
- func (*InternalOAuthClientsServiceDeleteClientRequest) ProtoMessage()
- func (x *InternalOAuthClientsServiceDeleteClientRequest) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthClientsServiceDeleteClientRequest) Reset()
- func (x *InternalOAuthClientsServiceDeleteClientRequest) String() string
- type InternalOAuthClientsServiceDeleteClientResponse
- func (*InternalOAuthClientsServiceDeleteClientResponse) Descriptor() ([]byte, []int)deprecated
- func (*InternalOAuthClientsServiceDeleteClientResponse) ProtoMessage()
- func (x *InternalOAuthClientsServiceDeleteClientResponse) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthClientsServiceDeleteClientResponse) Reset()
- func (x *InternalOAuthClientsServiceDeleteClientResponse) String() string
- type InternalOAuthClientsServiceGetClientRequest
- func (*InternalOAuthClientsServiceGetClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOAuthClientsServiceGetClientRequest) GetClientId() string
- func (*InternalOAuthClientsServiceGetClientRequest) ProtoMessage()
- func (x *InternalOAuthClientsServiceGetClientRequest) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthClientsServiceGetClientRequest) Reset()
- func (x *InternalOAuthClientsServiceGetClientRequest) String() string
- type InternalOAuthClientsServiceGetClientResponse
- func (*InternalOAuthClientsServiceGetClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOAuthClientsServiceGetClientResponse) GetClient() *ManagedClient
- func (*InternalOAuthClientsServiceGetClientResponse) ProtoMessage()
- func (x *InternalOAuthClientsServiceGetClientResponse) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthClientsServiceGetClientResponse) Reset()
- func (x *InternalOAuthClientsServiceGetClientResponse) String() string
- type InternalOAuthClientsServiceServer
- type InternalOAuthSessionsServiceClient
- type InternalOAuthSessionsServiceCreateRequest
- func (*InternalOAuthSessionsServiceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOAuthSessionsServiceCreateRequest) GetPayload() *SessionPayload
- func (*InternalOAuthSessionsServiceCreateRequest) ProtoMessage()
- func (x *InternalOAuthSessionsServiceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthSessionsServiceCreateRequest) Reset()
- func (x *InternalOAuthSessionsServiceCreateRequest) String() string
- type InternalOAuthSessionsServiceCreateResponse
- func (*InternalOAuthSessionsServiceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOAuthSessionsServiceCreateResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *InternalOAuthSessionsServiceCreateResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *InternalOAuthSessionsServiceCreateResponse) GetPayload() *SessionPayload
- func (*InternalOAuthSessionsServiceCreateResponse) ProtoMessage()
- func (x *InternalOAuthSessionsServiceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthSessionsServiceCreateResponse) Reset()
- func (x *InternalOAuthSessionsServiceCreateResponse) String() string
- type InternalOAuthSessionsServiceDeleteRequest
- func (*InternalOAuthSessionsServiceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOAuthSessionsServiceDeleteRequest) GetState() string
- func (*InternalOAuthSessionsServiceDeleteRequest) ProtoMessage()
- func (x *InternalOAuthSessionsServiceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthSessionsServiceDeleteRequest) Reset()
- func (x *InternalOAuthSessionsServiceDeleteRequest) String() string
- type InternalOAuthSessionsServiceDeleteResponse
- func (*InternalOAuthSessionsServiceDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*InternalOAuthSessionsServiceDeleteResponse) ProtoMessage()
- func (x *InternalOAuthSessionsServiceDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthSessionsServiceDeleteResponse) Reset()
- func (x *InternalOAuthSessionsServiceDeleteResponse) String() string
- type InternalOAuthSessionsServiceGetRequest
- func (*InternalOAuthSessionsServiceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOAuthSessionsServiceGetRequest) GetState() string
- func (*InternalOAuthSessionsServiceGetRequest) ProtoMessage()
- func (x *InternalOAuthSessionsServiceGetRequest) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthSessionsServiceGetRequest) Reset()
- func (x *InternalOAuthSessionsServiceGetRequest) String() string
- type InternalOAuthSessionsServiceGetResponse
- func (*InternalOAuthSessionsServiceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOAuthSessionsServiceGetResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *InternalOAuthSessionsServiceGetResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *InternalOAuthSessionsServiceGetResponse) GetPayload() *SessionPayload
- func (*InternalOAuthSessionsServiceGetResponse) ProtoMessage()
- func (x *InternalOAuthSessionsServiceGetResponse) ProtoReflect() protoreflect.Message
- func (x *InternalOAuthSessionsServiceGetResponse) Reset()
- func (x *InternalOAuthSessionsServiceGetResponse) String() string
- type InternalOAuthSessionsServiceServer
- type LoginServiceAcceptRequest
- func (*LoginServiceAcceptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginServiceAcceptRequest) GetChallenge() string
- func (x *LoginServiceAcceptRequest) GetEmail() string
- func (x *LoginServiceAcceptRequest) GetName() string
- func (x *LoginServiceAcceptRequest) GetSubject() string
- func (*LoginServiceAcceptRequest) ProtoMessage()
- func (x *LoginServiceAcceptRequest) ProtoReflect() protoreflect.Message
- func (x *LoginServiceAcceptRequest) Reset()
- func (x *LoginServiceAcceptRequest) String() string
- type LoginServiceAcceptResponse
- func (*LoginServiceAcceptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginServiceAcceptResponse) GetRedirectTo() string
- func (*LoginServiceAcceptResponse) ProtoMessage()
- func (x *LoginServiceAcceptResponse) ProtoReflect() protoreflect.Message
- func (x *LoginServiceAcceptResponse) Reset()
- func (x *LoginServiceAcceptResponse) String() string
- type LoginServiceClient
- type LoginServiceServer
- type ManagedClient
- func (*ManagedClient) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedClient) GetClientId() string
- func (x *ManagedClient) GetClientName() string
- func (x *ManagedClient) GetCreatedAt() *timestamppb.Timestamp
- func (x *ManagedClient) GetGrantTypes() []string
- func (x *ManagedClient) GetOwner() string
- func (x *ManagedClient) GetPublic() bool
- func (x *ManagedClient) GetRedirectUris() []string
- func (x *ManagedClient) GetResponseTypes() []string
- func (x *ManagedClient) GetScopes() []string
- func (x *ManagedClient) GetTrusted() bool
- func (x *ManagedClient) GetUpdatedAt() *timestamppb.Timestamp
- func (*ManagedClient) ProtoMessage()
- func (x *ManagedClient) ProtoReflect() protoreflect.Message
- func (x *ManagedClient) Reset()
- func (x *ManagedClient) String() string
- type SessionPayload
- func (*SessionPayload) Descriptor() ([]byte, []int)deprecated
- func (x *SessionPayload) GetNonce() string
- func (x *SessionPayload) GetOrigin() string
- func (x *SessionPayload) GetParams() map[string]string
- func (x *SessionPayload) GetPkceVerifier() string
- func (x *SessionPayload) GetState() string
- func (*SessionPayload) ProtoMessage()
- func (x *SessionPayload) ProtoReflect() protoreflect.Message
- func (x *SessionPayload) Reset()
- func (x *SessionPayload) String() string
- type UnimplementedAuthServiceServer
- type UnimplementedConsentServiceServer
- func (UnimplementedConsentServiceServer) Accept(context.Context, *ConsentServiceAcceptRequest) (*ConsentServiceAcceptResponse, error)
- func (UnimplementedConsentServiceServer) Get(context.Context, *ConsentServiceGetRequest) (*ConsentServiceGetResponse, error)
- func (UnimplementedConsentServiceServer) Reject(context.Context, *ConsentServiceRejectRequest) (*ConsentServiceRejectResponse, error)
- type UnimplementedInternalOAuthClientsServiceServer
- func (UnimplementedInternalOAuthClientsServiceServer) CreateClient(context.Context, *InternalOAuthClientsServiceCreateClientRequest) (*InternalOAuthClientsServiceCreateClientResponse, error)
- func (UnimplementedInternalOAuthClientsServiceServer) DeleteClient(context.Context, *InternalOAuthClientsServiceDeleteClientRequest) (*InternalOAuthClientsServiceDeleteClientResponse, error)
- func (UnimplementedInternalOAuthClientsServiceServer) GetClient(context.Context, *InternalOAuthClientsServiceGetClientRequest) (*InternalOAuthClientsServiceGetClientResponse, error)
- type UnimplementedInternalOAuthSessionsServiceServer
- func (UnimplementedInternalOAuthSessionsServiceServer) Create(context.Context, *InternalOAuthSessionsServiceCreateRequest) (*InternalOAuthSessionsServiceCreateResponse, error)
- func (UnimplementedInternalOAuthSessionsServiceServer) Delete(context.Context, *InternalOAuthSessionsServiceDeleteRequest) (*InternalOAuthSessionsServiceDeleteResponse, error)
- func (UnimplementedInternalOAuthSessionsServiceServer) Get(context.Context, *InternalOAuthSessionsServiceGetRequest) (*InternalOAuthSessionsServiceGetResponse, error)
- type UnimplementedLoginServiceServer
- type UnsafeAuthServiceServer
- type UnsafeConsentServiceServer
- type UnsafeInternalOAuthClientsServiceServer
- type UnsafeInternalOAuthSessionsServiceServer
- type UnsafeLoginServiceServer
Constants ¶
const ( ConsentService_Get_FullMethodName = "/gitlab.iam.auth.v1.ConsentService/Get" ConsentService_Accept_FullMethodName = "/gitlab.iam.auth.v1.ConsentService/Accept" ConsentService_Reject_FullMethodName = "/gitlab.iam.auth.v1.ConsentService/Reject" )
const ( InternalOAuthClientsService_CreateClient_FullMethodName = "/gitlab.iam.auth.v1.InternalOAuthClientsService/CreateClient" InternalOAuthClientsService_GetClient_FullMethodName = "/gitlab.iam.auth.v1.InternalOAuthClientsService/GetClient" InternalOAuthClientsService_DeleteClient_FullMethodName = "/gitlab.iam.auth.v1.InternalOAuthClientsService/DeleteClient" )
const ( InternalOAuthSessionsService_Create_FullMethodName = "/gitlab.iam.auth.v1.InternalOAuthSessionsService/Create" InternalOAuthSessionsService_Get_FullMethodName = "/gitlab.iam.auth.v1.InternalOAuthSessionsService/Get" InternalOAuthSessionsService_Delete_FullMethodName = "/gitlab.iam.auth.v1.InternalOAuthSessionsService/Delete" )
const (
AuthService_Health_FullMethodName = "/gitlab.iam.auth.v1.AuthService/Health"
)
const (
LoginService_Accept_FullMethodName = "/gitlab.iam.auth.v1.LoginService/Accept"
)
Variables ¶
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.iam.auth.v1.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Health", Handler: _AuthService_Health_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/auth/auth.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ConsentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.iam.auth.v1.ConsentService", HandlerType: (*ConsentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _ConsentService_Get_Handler, }, { MethodName: "Accept", Handler: _ConsentService_Accept_Handler, }, { MethodName: "Reject", Handler: _ConsentService_Reject_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/auth/auth.proto", }
ConsentService_ServiceDesc is the grpc.ServiceDesc for ConsentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_auth_auth_proto protoreflect.FileDescriptor
var InternalOAuthClientsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.iam.auth.v1.InternalOAuthClientsService", HandlerType: (*InternalOAuthClientsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateClient", Handler: _InternalOAuthClientsService_CreateClient_Handler, }, { MethodName: "GetClient", Handler: _InternalOAuthClientsService_GetClient_Handler, }, { MethodName: "DeleteClient", Handler: _InternalOAuthClientsService_DeleteClient_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/auth/auth.proto", }
InternalOAuthClientsService_ServiceDesc is the grpc.ServiceDesc for InternalOAuthClientsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var InternalOAuthSessionsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.iam.auth.v1.InternalOAuthSessionsService", HandlerType: (*InternalOAuthSessionsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _InternalOAuthSessionsService_Create_Handler, }, { MethodName: "Get", Handler: _InternalOAuthSessionsService_Get_Handler, }, { MethodName: "Delete", Handler: _InternalOAuthSessionsService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/auth/auth.proto", }
InternalOAuthSessionsService_ServiceDesc is the grpc.ServiceDesc for InternalOAuthSessionsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var LoginService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.iam.auth.v1.LoginService", HandlerType: (*LoginServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Accept", Handler: _LoginService_Accept_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/auth/auth.proto", }
LoginService_ServiceDesc is the grpc.ServiceDesc for LoginService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthServiceServer ¶ added in v1.10.0
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterConsentServiceServer ¶ added in v1.10.0
func RegisterConsentServiceServer(s grpc.ServiceRegistrar, srv ConsentServiceServer)
func RegisterInternalOAuthClientsServiceServer ¶ added in v1.31.1
func RegisterInternalOAuthClientsServiceServer(s grpc.ServiceRegistrar, srv InternalOAuthClientsServiceServer)
func RegisterInternalOAuthSessionsServiceServer ¶ added in v1.10.0
func RegisterInternalOAuthSessionsServiceServer(s grpc.ServiceRegistrar, srv InternalOAuthSessionsServiceServer)
func RegisterLoginServiceServer ¶ added in v1.10.0
func RegisterLoginServiceServer(s grpc.ServiceRegistrar, srv LoginServiceServer)
Types ¶
type AuthServiceClient ¶ added in v1.10.0
type AuthServiceClient interface {
// Unauthenticated: the only public method; no service token required.
Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
}
AuthServiceClient is the client API for AuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthServiceClient ¶ added in v1.10.0
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶ added in v1.10.0
type AuthServiceServer interface {
// Unauthenticated: the only public method; no service token required.
Health(context.Context, *HealthRequest) (*HealthResponse, error)
// contains filtered or unexported methods
}
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility.
type Client ¶ added in v1.10.0
type Client struct {
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
ClientName string `protobuf:"bytes,2,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
Scopes []string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"`
ClientOwner string `protobuf:"bytes,4,opt,name=client_owner,json=clientOwner,proto3" json:"client_owner,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
Trusted bool `protobuf:"varint,6,opt,name=trusted,proto3" json:"trusted,omitempty"`
// contains filtered or unexported fields
}
func (*Client) Descriptor
deprecated
added in
v1.10.0
func (*Client) GetClientId ¶ added in v1.10.0
func (*Client) GetClientName ¶ added in v1.10.0
func (*Client) GetClientOwner ¶ added in v1.10.0
func (*Client) GetCreatedAt ¶ added in v1.10.0
func (x *Client) GetCreatedAt() *timestamppb.Timestamp
func (*Client) GetTrusted ¶ added in v1.10.0
func (*Client) ProtoMessage ¶ added in v1.10.0
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶ added in v1.10.0
func (x *Client) ProtoReflect() protoreflect.Message
type ConsentServiceAcceptRequest ¶ added in v1.10.0
type ConsentServiceAcceptRequest struct {
// sensitive: OAuth challenge; never log or return to clients.
Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
GrantedScopes []string `protobuf:"bytes,2,rep,name=granted_scopes,json=grantedScopes,proto3" json:"granted_scopes,omitempty"`
// contains filtered or unexported fields
}
func (*ConsentServiceAcceptRequest) Descriptor
deprecated
added in
v1.10.0
func (*ConsentServiceAcceptRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConsentServiceAcceptRequest.ProtoReflect.Descriptor instead.
func (*ConsentServiceAcceptRequest) GetChallenge ¶ added in v1.10.0
func (x *ConsentServiceAcceptRequest) GetChallenge() string
func (*ConsentServiceAcceptRequest) GetGrantedScopes ¶ added in v1.10.0
func (x *ConsentServiceAcceptRequest) GetGrantedScopes() []string
func (*ConsentServiceAcceptRequest) ProtoMessage ¶ added in v1.10.0
func (*ConsentServiceAcceptRequest) ProtoMessage()
func (*ConsentServiceAcceptRequest) ProtoReflect ¶ added in v1.10.0
func (x *ConsentServiceAcceptRequest) ProtoReflect() protoreflect.Message
func (*ConsentServiceAcceptRequest) Reset ¶ added in v1.10.0
func (x *ConsentServiceAcceptRequest) Reset()
func (*ConsentServiceAcceptRequest) String ¶ added in v1.10.0
func (x *ConsentServiceAcceptRequest) String() string
type ConsentServiceAcceptResponse ¶ added in v1.10.0
type ConsentServiceAcceptResponse struct {
RedirectTo string `protobuf:"bytes,1,opt,name=redirect_to,json=redirectTo,proto3" json:"redirect_to,omitempty"`
// contains filtered or unexported fields
}
func (*ConsentServiceAcceptResponse) Descriptor
deprecated
added in
v1.10.0
func (*ConsentServiceAcceptResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConsentServiceAcceptResponse.ProtoReflect.Descriptor instead.
func (*ConsentServiceAcceptResponse) GetRedirectTo ¶ added in v1.10.0
func (x *ConsentServiceAcceptResponse) GetRedirectTo() string
func (*ConsentServiceAcceptResponse) ProtoMessage ¶ added in v1.10.0
func (*ConsentServiceAcceptResponse) ProtoMessage()
func (*ConsentServiceAcceptResponse) ProtoReflect ¶ added in v1.10.0
func (x *ConsentServiceAcceptResponse) ProtoReflect() protoreflect.Message
func (*ConsentServiceAcceptResponse) Reset ¶ added in v1.10.0
func (x *ConsentServiceAcceptResponse) Reset()
func (*ConsentServiceAcceptResponse) String ¶ added in v1.10.0
func (x *ConsentServiceAcceptResponse) String() string
type ConsentServiceClient ¶ added in v1.10.0
type ConsentServiceClient interface {
Get(ctx context.Context, in *ConsentServiceGetRequest, opts ...grpc.CallOption) (*ConsentServiceGetResponse, error)
Accept(ctx context.Context, in *ConsentServiceAcceptRequest, opts ...grpc.CallOption) (*ConsentServiceAcceptResponse, error)
Reject(ctx context.Context, in *ConsentServiceRejectRequest, opts ...grpc.CallOption) (*ConsentServiceRejectResponse, error)
}
ConsentServiceClient is the client API for ConsentService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
All RPCs require a valid service-to-service token.
func NewConsentServiceClient ¶ added in v1.10.0
func NewConsentServiceClient(cc grpc.ClientConnInterface) ConsentServiceClient
type ConsentServiceGetRequest ¶ added in v1.10.0
type ConsentServiceGetRequest struct {
// sensitive: OAuth challenge; never log or return to clients.
Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
// contains filtered or unexported fields
}
func (*ConsentServiceGetRequest) Descriptor
deprecated
added in
v1.10.0
func (*ConsentServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConsentServiceGetRequest.ProtoReflect.Descriptor instead.
func (*ConsentServiceGetRequest) GetChallenge ¶ added in v1.10.0
func (x *ConsentServiceGetRequest) GetChallenge() string
func (*ConsentServiceGetRequest) ProtoMessage ¶ added in v1.10.0
func (*ConsentServiceGetRequest) ProtoMessage()
func (*ConsentServiceGetRequest) ProtoReflect ¶ added in v1.10.0
func (x *ConsentServiceGetRequest) ProtoReflect() protoreflect.Message
func (*ConsentServiceGetRequest) Reset ¶ added in v1.10.0
func (x *ConsentServiceGetRequest) Reset()
func (*ConsentServiceGetRequest) String ¶ added in v1.10.0
func (x *ConsentServiceGetRequest) String() string
type ConsentServiceGetResponse ¶ added in v1.10.0
type ConsentServiceGetResponse struct {
Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
Client *Client `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"`
RequestedScopes []string `protobuf:"bytes,3,rep,name=requested_scopes,json=requestedScopes,proto3" json:"requested_scopes,omitempty"`
Skip bool `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
// contains filtered or unexported fields
}
func (*ConsentServiceGetResponse) Descriptor
deprecated
added in
v1.10.0
func (*ConsentServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConsentServiceGetResponse.ProtoReflect.Descriptor instead.
func (*ConsentServiceGetResponse) GetClient ¶ added in v1.10.0
func (x *ConsentServiceGetResponse) GetClient() *Client
func (*ConsentServiceGetResponse) GetRequestedScopes ¶ added in v1.10.0
func (x *ConsentServiceGetResponse) GetRequestedScopes() []string
func (*ConsentServiceGetResponse) GetSkip ¶ added in v1.10.0
func (x *ConsentServiceGetResponse) GetSkip() bool
func (*ConsentServiceGetResponse) GetSubject ¶ added in v1.10.0
func (x *ConsentServiceGetResponse) GetSubject() string
func (*ConsentServiceGetResponse) ProtoMessage ¶ added in v1.10.0
func (*ConsentServiceGetResponse) ProtoMessage()
func (*ConsentServiceGetResponse) ProtoReflect ¶ added in v1.10.0
func (x *ConsentServiceGetResponse) ProtoReflect() protoreflect.Message
func (*ConsentServiceGetResponse) Reset ¶ added in v1.10.0
func (x *ConsentServiceGetResponse) Reset()
func (*ConsentServiceGetResponse) String ¶ added in v1.10.0
func (x *ConsentServiceGetResponse) String() string
type ConsentServiceRejectRequest ¶ added in v1.10.0
type ConsentServiceRejectRequest struct {
// sensitive: OAuth challenge; never log or return to clients.
Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
// contains filtered or unexported fields
}
func (*ConsentServiceRejectRequest) Descriptor
deprecated
added in
v1.10.0
func (*ConsentServiceRejectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConsentServiceRejectRequest.ProtoReflect.Descriptor instead.
func (*ConsentServiceRejectRequest) GetChallenge ¶ added in v1.10.0
func (x *ConsentServiceRejectRequest) GetChallenge() string
func (*ConsentServiceRejectRequest) ProtoMessage ¶ added in v1.10.0
func (*ConsentServiceRejectRequest) ProtoMessage()
func (*ConsentServiceRejectRequest) ProtoReflect ¶ added in v1.10.0
func (x *ConsentServiceRejectRequest) ProtoReflect() protoreflect.Message
func (*ConsentServiceRejectRequest) Reset ¶ added in v1.10.0
func (x *ConsentServiceRejectRequest) Reset()
func (*ConsentServiceRejectRequest) String ¶ added in v1.10.0
func (x *ConsentServiceRejectRequest) String() string
type ConsentServiceRejectResponse ¶ added in v1.10.0
type ConsentServiceRejectResponse struct {
RedirectTo string `protobuf:"bytes,1,opt,name=redirect_to,json=redirectTo,proto3" json:"redirect_to,omitempty"`
// contains filtered or unexported fields
}
func (*ConsentServiceRejectResponse) Descriptor
deprecated
added in
v1.10.0
func (*ConsentServiceRejectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConsentServiceRejectResponse.ProtoReflect.Descriptor instead.
func (*ConsentServiceRejectResponse) GetRedirectTo ¶ added in v1.10.0
func (x *ConsentServiceRejectResponse) GetRedirectTo() string
func (*ConsentServiceRejectResponse) ProtoMessage ¶ added in v1.10.0
func (*ConsentServiceRejectResponse) ProtoMessage()
func (*ConsentServiceRejectResponse) ProtoReflect ¶ added in v1.10.0
func (x *ConsentServiceRejectResponse) ProtoReflect() protoreflect.Message
func (*ConsentServiceRejectResponse) Reset ¶ added in v1.10.0
func (x *ConsentServiceRejectResponse) Reset()
func (*ConsentServiceRejectResponse) String ¶ added in v1.10.0
func (x *ConsentServiceRejectResponse) String() string
type ConsentServiceServer ¶ added in v1.10.0
type ConsentServiceServer interface {
Get(context.Context, *ConsentServiceGetRequest) (*ConsentServiceGetResponse, error)
Accept(context.Context, *ConsentServiceAcceptRequest) (*ConsentServiceAcceptResponse, error)
Reject(context.Context, *ConsentServiceRejectRequest) (*ConsentServiceRejectResponse, error)
// contains filtered or unexported methods
}
ConsentServiceServer is the server API for ConsentService service. All implementations must embed UnimplementedConsentServiceServer for forward compatibility.
All RPCs require a valid service-to-service token.
type HealthRequest ¶
type HealthRequest struct {
// contains filtered or unexported fields
}
func (*HealthRequest) Descriptor
deprecated
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶
func (x *HealthRequest) String() string
type HealthResponse ¶
type HealthResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*HealthResponse) Descriptor
deprecated
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetStatus ¶
func (x *HealthResponse) GetStatus() string
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (x *HealthResponse) String() string
type InternalOAuthClientsServiceClient ¶ added in v1.31.1
type InternalOAuthClientsServiceClient interface {
// CreateClient stores a new client. Returns INVALID_ARGUMENT when client_id
// is empty and ALREADY_EXISTS when a client with that ID already exists.
CreateClient(ctx context.Context, in *InternalOAuthClientsServiceCreateClientRequest, opts ...grpc.CallOption) (*InternalOAuthClientsServiceCreateClientResponse, error)
// GetClient returns a client by ID. Returns INVALID_ARGUMENT when client_id
// is empty and NOT_FOUND when no client matches.
GetClient(ctx context.Context, in *InternalOAuthClientsServiceGetClientRequest, opts ...grpc.CallOption) (*InternalOAuthClientsServiceGetClientResponse, error)
// DeleteClient removes a client by ID. Returns INVALID_ARGUMENT when
// client_id is empty and NOT_FOUND when no client matches.
DeleteClient(ctx context.Context, in *InternalOAuthClientsServiceDeleteClientRequest, opts ...grpc.CallOption) (*InternalOAuthClientsServiceDeleteClientResponse, error)
}
InternalOAuthClientsServiceClient is the client API for InternalOAuthClientsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Used to mirror OAuth client records from gitlab-rails cells.
func NewInternalOAuthClientsServiceClient ¶ added in v1.31.1
func NewInternalOAuthClientsServiceClient(cc grpc.ClientConnInterface) InternalOAuthClientsServiceClient
type InternalOAuthClientsServiceCreateClientRequest ¶ added in v1.31.1
type InternalOAuthClientsServiceCreateClientRequest struct {
// Required. Unique client identifier; the handler rejects an empty value.
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
// Sensitive: plaintext
// client secret; never log. Hashed before storage.
ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
RedirectUris []string `protobuf:"bytes,3,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"`
GrantTypes []string `protobuf:"bytes,4,rep,name=grant_types,json=grantTypes,proto3" json:"grant_types,omitempty"`
ResponseTypes []string `protobuf:"bytes,5,rep,name=response_types,json=responseTypes,proto3" json:"response_types,omitempty"`
Scopes []string `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"`
Public bool `protobuf:"varint,7,opt,name=public,proto3" json:"public,omitempty"`
ClientName string `protobuf:"bytes,8,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
Trusted bool `protobuf:"varint,10,opt,name=trusted,proto3" json:"trusted,omitempty"`
// created_at/updated_at are supplied by the caller (mirrored from
// gitlab-rails cells), not set server-side.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*InternalOAuthClientsServiceCreateClientRequest) Descriptor
deprecated
added in
v1.31.1
func (*InternalOAuthClientsServiceCreateClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthClientsServiceCreateClientRequest.ProtoReflect.Descriptor instead.
func (*InternalOAuthClientsServiceCreateClientRequest) GetClientId ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetClientId() string
func (*InternalOAuthClientsServiceCreateClientRequest) GetClientName ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetClientName() string
func (*InternalOAuthClientsServiceCreateClientRequest) GetClientSecret ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetClientSecret() string
func (*InternalOAuthClientsServiceCreateClientRequest) GetCreatedAt ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetCreatedAt() *timestamppb.Timestamp
func (*InternalOAuthClientsServiceCreateClientRequest) GetGrantTypes ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetGrantTypes() []string
func (*InternalOAuthClientsServiceCreateClientRequest) GetOwner ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetOwner() string
func (*InternalOAuthClientsServiceCreateClientRequest) GetPublic ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetPublic() bool
func (*InternalOAuthClientsServiceCreateClientRequest) GetRedirectUris ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetRedirectUris() []string
func (*InternalOAuthClientsServiceCreateClientRequest) GetResponseTypes ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetResponseTypes() []string
func (*InternalOAuthClientsServiceCreateClientRequest) GetScopes ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetScopes() []string
func (*InternalOAuthClientsServiceCreateClientRequest) GetTrusted ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetTrusted() bool
func (*InternalOAuthClientsServiceCreateClientRequest) GetUpdatedAt ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) GetUpdatedAt() *timestamppb.Timestamp
func (*InternalOAuthClientsServiceCreateClientRequest) ProtoMessage ¶ added in v1.31.1
func (*InternalOAuthClientsServiceCreateClientRequest) ProtoMessage()
func (*InternalOAuthClientsServiceCreateClientRequest) ProtoReflect ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) ProtoReflect() protoreflect.Message
func (*InternalOAuthClientsServiceCreateClientRequest) Reset ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) Reset()
func (*InternalOAuthClientsServiceCreateClientRequest) String ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientRequest) String() string
type InternalOAuthClientsServiceCreateClientResponse ¶ added in v1.31.1
type InternalOAuthClientsServiceCreateClientResponse struct {
Client *ManagedClient `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
// contains filtered or unexported fields
}
func (*InternalOAuthClientsServiceCreateClientResponse) Descriptor
deprecated
added in
v1.31.1
func (*InternalOAuthClientsServiceCreateClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthClientsServiceCreateClientResponse.ProtoReflect.Descriptor instead.
func (*InternalOAuthClientsServiceCreateClientResponse) GetClient ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientResponse) GetClient() *ManagedClient
func (*InternalOAuthClientsServiceCreateClientResponse) ProtoMessage ¶ added in v1.31.1
func (*InternalOAuthClientsServiceCreateClientResponse) ProtoMessage()
func (*InternalOAuthClientsServiceCreateClientResponse) ProtoReflect ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientResponse) ProtoReflect() protoreflect.Message
func (*InternalOAuthClientsServiceCreateClientResponse) Reset ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientResponse) Reset()
func (*InternalOAuthClientsServiceCreateClientResponse) String ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceCreateClientResponse) String() string
type InternalOAuthClientsServiceDeleteClientRequest ¶ added in v1.31.1
type InternalOAuthClientsServiceDeleteClientRequest struct {
// Required. The handler rejects an empty value with INVALID_ARGUMENT.
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
// contains filtered or unexported fields
}
func (*InternalOAuthClientsServiceDeleteClientRequest) Descriptor
deprecated
added in
v1.31.1
func (*InternalOAuthClientsServiceDeleteClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthClientsServiceDeleteClientRequest.ProtoReflect.Descriptor instead.
func (*InternalOAuthClientsServiceDeleteClientRequest) GetClientId ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceDeleteClientRequest) GetClientId() string
func (*InternalOAuthClientsServiceDeleteClientRequest) ProtoMessage ¶ added in v1.31.1
func (*InternalOAuthClientsServiceDeleteClientRequest) ProtoMessage()
func (*InternalOAuthClientsServiceDeleteClientRequest) ProtoReflect ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceDeleteClientRequest) ProtoReflect() protoreflect.Message
func (*InternalOAuthClientsServiceDeleteClientRequest) Reset ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceDeleteClientRequest) Reset()
func (*InternalOAuthClientsServiceDeleteClientRequest) String ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceDeleteClientRequest) String() string
type InternalOAuthClientsServiceDeleteClientResponse ¶ added in v1.31.1
type InternalOAuthClientsServiceDeleteClientResponse struct {
// contains filtered or unexported fields
}
func (*InternalOAuthClientsServiceDeleteClientResponse) Descriptor
deprecated
added in
v1.31.1
func (*InternalOAuthClientsServiceDeleteClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthClientsServiceDeleteClientResponse.ProtoReflect.Descriptor instead.
func (*InternalOAuthClientsServiceDeleteClientResponse) ProtoMessage ¶ added in v1.31.1
func (*InternalOAuthClientsServiceDeleteClientResponse) ProtoMessage()
func (*InternalOAuthClientsServiceDeleteClientResponse) ProtoReflect ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceDeleteClientResponse) ProtoReflect() protoreflect.Message
func (*InternalOAuthClientsServiceDeleteClientResponse) Reset ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceDeleteClientResponse) Reset()
func (*InternalOAuthClientsServiceDeleteClientResponse) String ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceDeleteClientResponse) String() string
type InternalOAuthClientsServiceGetClientRequest ¶ added in v1.31.1
type InternalOAuthClientsServiceGetClientRequest struct {
// Required. The handler rejects an empty value with INVALID_ARGUMENT.
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
// contains filtered or unexported fields
}
func (*InternalOAuthClientsServiceGetClientRequest) Descriptor
deprecated
added in
v1.31.1
func (*InternalOAuthClientsServiceGetClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthClientsServiceGetClientRequest.ProtoReflect.Descriptor instead.
func (*InternalOAuthClientsServiceGetClientRequest) GetClientId ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceGetClientRequest) GetClientId() string
func (*InternalOAuthClientsServiceGetClientRequest) ProtoMessage ¶ added in v1.31.1
func (*InternalOAuthClientsServiceGetClientRequest) ProtoMessage()
func (*InternalOAuthClientsServiceGetClientRequest) ProtoReflect ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceGetClientRequest) ProtoReflect() protoreflect.Message
func (*InternalOAuthClientsServiceGetClientRequest) Reset ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceGetClientRequest) Reset()
func (*InternalOAuthClientsServiceGetClientRequest) String ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceGetClientRequest) String() string
type InternalOAuthClientsServiceGetClientResponse ¶ added in v1.31.1
type InternalOAuthClientsServiceGetClientResponse struct {
Client *ManagedClient `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
// contains filtered or unexported fields
}
func (*InternalOAuthClientsServiceGetClientResponse) Descriptor
deprecated
added in
v1.31.1
func (*InternalOAuthClientsServiceGetClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthClientsServiceGetClientResponse.ProtoReflect.Descriptor instead.
func (*InternalOAuthClientsServiceGetClientResponse) GetClient ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceGetClientResponse) GetClient() *ManagedClient
func (*InternalOAuthClientsServiceGetClientResponse) ProtoMessage ¶ added in v1.31.1
func (*InternalOAuthClientsServiceGetClientResponse) ProtoMessage()
func (*InternalOAuthClientsServiceGetClientResponse) ProtoReflect ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceGetClientResponse) ProtoReflect() protoreflect.Message
func (*InternalOAuthClientsServiceGetClientResponse) Reset ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceGetClientResponse) Reset()
func (*InternalOAuthClientsServiceGetClientResponse) String ¶ added in v1.31.1
func (x *InternalOAuthClientsServiceGetClientResponse) String() string
type InternalOAuthClientsServiceServer ¶ added in v1.31.1
type InternalOAuthClientsServiceServer interface {
// CreateClient stores a new client. Returns INVALID_ARGUMENT when client_id
// is empty and ALREADY_EXISTS when a client with that ID already exists.
CreateClient(context.Context, *InternalOAuthClientsServiceCreateClientRequest) (*InternalOAuthClientsServiceCreateClientResponse, error)
// GetClient returns a client by ID. Returns INVALID_ARGUMENT when client_id
// is empty and NOT_FOUND when no client matches.
GetClient(context.Context, *InternalOAuthClientsServiceGetClientRequest) (*InternalOAuthClientsServiceGetClientResponse, error)
// DeleteClient removes a client by ID. Returns INVALID_ARGUMENT when
// client_id is empty and NOT_FOUND when no client matches.
DeleteClient(context.Context, *InternalOAuthClientsServiceDeleteClientRequest) (*InternalOAuthClientsServiceDeleteClientResponse, error)
// contains filtered or unexported methods
}
InternalOAuthClientsServiceServer is the server API for InternalOAuthClientsService service. All implementations must embed UnimplementedInternalOAuthClientsServiceServer for forward compatibility.
Used to mirror OAuth client records from gitlab-rails cells.
type InternalOAuthSessionsServiceClient ¶ added in v1.10.0
type InternalOAuthSessionsServiceClient interface {
Create(ctx context.Context, in *InternalOAuthSessionsServiceCreateRequest, opts ...grpc.CallOption) (*InternalOAuthSessionsServiceCreateResponse, error)
Get(ctx context.Context, in *InternalOAuthSessionsServiceGetRequest, opts ...grpc.CallOption) (*InternalOAuthSessionsServiceGetResponse, error)
Delete(ctx context.Context, in *InternalOAuthSessionsServiceDeleteRequest, opts ...grpc.CallOption) (*InternalOAuthSessionsServiceDeleteResponse, error)
}
InternalOAuthSessionsServiceClient is the client API for InternalOAuthSessionsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
All RPCs require a valid service-to-service token.
func NewInternalOAuthSessionsServiceClient ¶ added in v1.10.0
func NewInternalOAuthSessionsServiceClient(cc grpc.ClientConnInterface) InternalOAuthSessionsServiceClient
type InternalOAuthSessionsServiceCreateRequest ¶ added in v1.10.0
type InternalOAuthSessionsServiceCreateRequest struct {
Payload *SessionPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
func (*InternalOAuthSessionsServiceCreateRequest) Descriptor
deprecated
added in
v1.10.0
func (*InternalOAuthSessionsServiceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthSessionsServiceCreateRequest.ProtoReflect.Descriptor instead.
func (*InternalOAuthSessionsServiceCreateRequest) GetPayload ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceCreateRequest) GetPayload() *SessionPayload
func (*InternalOAuthSessionsServiceCreateRequest) ProtoMessage ¶ added in v1.10.0
func (*InternalOAuthSessionsServiceCreateRequest) ProtoMessage()
func (*InternalOAuthSessionsServiceCreateRequest) ProtoReflect ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceCreateRequest) ProtoReflect() protoreflect.Message
func (*InternalOAuthSessionsServiceCreateRequest) Reset ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceCreateRequest) Reset()
func (*InternalOAuthSessionsServiceCreateRequest) String ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceCreateRequest) String() string
type InternalOAuthSessionsServiceCreateResponse ¶ added in v1.10.0
type InternalOAuthSessionsServiceCreateResponse struct {
Payload *SessionPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*InternalOAuthSessionsServiceCreateResponse) Descriptor
deprecated
added in
v1.10.0
func (*InternalOAuthSessionsServiceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthSessionsServiceCreateResponse.ProtoReflect.Descriptor instead.
func (*InternalOAuthSessionsServiceCreateResponse) GetCreatedAt ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceCreateResponse) GetCreatedAt() *timestamppb.Timestamp
func (*InternalOAuthSessionsServiceCreateResponse) GetExpiresAt ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceCreateResponse) GetExpiresAt() *timestamppb.Timestamp
func (*InternalOAuthSessionsServiceCreateResponse) GetPayload ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceCreateResponse) GetPayload() *SessionPayload
func (*InternalOAuthSessionsServiceCreateResponse) ProtoMessage ¶ added in v1.10.0
func (*InternalOAuthSessionsServiceCreateResponse) ProtoMessage()
func (*InternalOAuthSessionsServiceCreateResponse) ProtoReflect ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceCreateResponse) ProtoReflect() protoreflect.Message
func (*InternalOAuthSessionsServiceCreateResponse) Reset ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceCreateResponse) Reset()
func (*InternalOAuthSessionsServiceCreateResponse) String ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceCreateResponse) String() string
type InternalOAuthSessionsServiceDeleteRequest ¶ added in v1.10.0
type InternalOAuthSessionsServiceDeleteRequest struct {
State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
// contains filtered or unexported fields
}
func (*InternalOAuthSessionsServiceDeleteRequest) Descriptor
deprecated
added in
v1.10.0
func (*InternalOAuthSessionsServiceDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthSessionsServiceDeleteRequest.ProtoReflect.Descriptor instead.
func (*InternalOAuthSessionsServiceDeleteRequest) GetState ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceDeleteRequest) GetState() string
func (*InternalOAuthSessionsServiceDeleteRequest) ProtoMessage ¶ added in v1.10.0
func (*InternalOAuthSessionsServiceDeleteRequest) ProtoMessage()
func (*InternalOAuthSessionsServiceDeleteRequest) ProtoReflect ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceDeleteRequest) ProtoReflect() protoreflect.Message
func (*InternalOAuthSessionsServiceDeleteRequest) Reset ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceDeleteRequest) Reset()
func (*InternalOAuthSessionsServiceDeleteRequest) String ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceDeleteRequest) String() string
type InternalOAuthSessionsServiceDeleteResponse ¶ added in v1.10.0
type InternalOAuthSessionsServiceDeleteResponse struct {
// contains filtered or unexported fields
}
func (*InternalOAuthSessionsServiceDeleteResponse) Descriptor
deprecated
added in
v1.10.0
func (*InternalOAuthSessionsServiceDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthSessionsServiceDeleteResponse.ProtoReflect.Descriptor instead.
func (*InternalOAuthSessionsServiceDeleteResponse) ProtoMessage ¶ added in v1.10.0
func (*InternalOAuthSessionsServiceDeleteResponse) ProtoMessage()
func (*InternalOAuthSessionsServiceDeleteResponse) ProtoReflect ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceDeleteResponse) ProtoReflect() protoreflect.Message
func (*InternalOAuthSessionsServiceDeleteResponse) Reset ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceDeleteResponse) Reset()
func (*InternalOAuthSessionsServiceDeleteResponse) String ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceDeleteResponse) String() string
type InternalOAuthSessionsServiceGetRequest ¶ added in v1.10.0
type InternalOAuthSessionsServiceGetRequest struct {
State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
// contains filtered or unexported fields
}
func (*InternalOAuthSessionsServiceGetRequest) Descriptor
deprecated
added in
v1.10.0
func (*InternalOAuthSessionsServiceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthSessionsServiceGetRequest.ProtoReflect.Descriptor instead.
func (*InternalOAuthSessionsServiceGetRequest) GetState ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceGetRequest) GetState() string
func (*InternalOAuthSessionsServiceGetRequest) ProtoMessage ¶ added in v1.10.0
func (*InternalOAuthSessionsServiceGetRequest) ProtoMessage()
func (*InternalOAuthSessionsServiceGetRequest) ProtoReflect ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceGetRequest) ProtoReflect() protoreflect.Message
func (*InternalOAuthSessionsServiceGetRequest) Reset ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceGetRequest) Reset()
func (*InternalOAuthSessionsServiceGetRequest) String ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceGetRequest) String() string
type InternalOAuthSessionsServiceGetResponse ¶ added in v1.10.0
type InternalOAuthSessionsServiceGetResponse struct {
Payload *SessionPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*InternalOAuthSessionsServiceGetResponse) Descriptor
deprecated
added in
v1.10.0
func (*InternalOAuthSessionsServiceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use InternalOAuthSessionsServiceGetResponse.ProtoReflect.Descriptor instead.
func (*InternalOAuthSessionsServiceGetResponse) GetCreatedAt ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceGetResponse) GetCreatedAt() *timestamppb.Timestamp
func (*InternalOAuthSessionsServiceGetResponse) GetExpiresAt ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceGetResponse) GetExpiresAt() *timestamppb.Timestamp
func (*InternalOAuthSessionsServiceGetResponse) GetPayload ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceGetResponse) GetPayload() *SessionPayload
func (*InternalOAuthSessionsServiceGetResponse) ProtoMessage ¶ added in v1.10.0
func (*InternalOAuthSessionsServiceGetResponse) ProtoMessage()
func (*InternalOAuthSessionsServiceGetResponse) ProtoReflect ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceGetResponse) ProtoReflect() protoreflect.Message
func (*InternalOAuthSessionsServiceGetResponse) Reset ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceGetResponse) Reset()
func (*InternalOAuthSessionsServiceGetResponse) String ¶ added in v1.10.0
func (x *InternalOAuthSessionsServiceGetResponse) String() string
type InternalOAuthSessionsServiceServer ¶ added in v1.10.0
type InternalOAuthSessionsServiceServer interface {
Create(context.Context, *InternalOAuthSessionsServiceCreateRequest) (*InternalOAuthSessionsServiceCreateResponse, error)
Get(context.Context, *InternalOAuthSessionsServiceGetRequest) (*InternalOAuthSessionsServiceGetResponse, error)
Delete(context.Context, *InternalOAuthSessionsServiceDeleteRequest) (*InternalOAuthSessionsServiceDeleteResponse, error)
// contains filtered or unexported methods
}
InternalOAuthSessionsServiceServer is the server API for InternalOAuthSessionsService service. All implementations must embed UnimplementedInternalOAuthSessionsServiceServer for forward compatibility.
All RPCs require a valid service-to-service token.
type LoginServiceAcceptRequest ¶ added in v1.10.0
type LoginServiceAcceptRequest struct {
// sensitive: OAuth challenge; never log or return to clients.
Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
// Caller-supplied end-user identity; not bound to challenge server-side.
// Trust assumption: IAM relies on the caller (gitlab-rails, the only
// intended caller of this RPC) to have already authenticated the user and
// to supply the correct subject for this challenge — IAM has no
// independent way to verify it.
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
// sensitive: end-user display name (PII); mask before logging. Optional.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// sensitive: end-user email (PII); mask before logging.
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}
func (*LoginServiceAcceptRequest) Descriptor
deprecated
added in
v1.10.0
func (*LoginServiceAcceptRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginServiceAcceptRequest.ProtoReflect.Descriptor instead.
func (*LoginServiceAcceptRequest) GetChallenge ¶ added in v1.10.0
func (x *LoginServiceAcceptRequest) GetChallenge() string
func (*LoginServiceAcceptRequest) GetEmail ¶ added in v1.10.0
func (x *LoginServiceAcceptRequest) GetEmail() string
func (*LoginServiceAcceptRequest) GetName ¶ added in v1.10.0
func (x *LoginServiceAcceptRequest) GetName() string
func (*LoginServiceAcceptRequest) GetSubject ¶ added in v1.10.0
func (x *LoginServiceAcceptRequest) GetSubject() string
func (*LoginServiceAcceptRequest) ProtoMessage ¶ added in v1.10.0
func (*LoginServiceAcceptRequest) ProtoMessage()
func (*LoginServiceAcceptRequest) ProtoReflect ¶ added in v1.10.0
func (x *LoginServiceAcceptRequest) ProtoReflect() protoreflect.Message
func (*LoginServiceAcceptRequest) Reset ¶ added in v1.10.0
func (x *LoginServiceAcceptRequest) Reset()
func (*LoginServiceAcceptRequest) String ¶ added in v1.10.0
func (x *LoginServiceAcceptRequest) String() string
type LoginServiceAcceptResponse ¶ added in v1.10.0
type LoginServiceAcceptResponse struct {
RedirectTo string `protobuf:"bytes,1,opt,name=redirect_to,json=redirectTo,proto3" json:"redirect_to,omitempty"`
// contains filtered or unexported fields
}
func (*LoginServiceAcceptResponse) Descriptor
deprecated
added in
v1.10.0
func (*LoginServiceAcceptResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginServiceAcceptResponse.ProtoReflect.Descriptor instead.
func (*LoginServiceAcceptResponse) GetRedirectTo ¶ added in v1.10.0
func (x *LoginServiceAcceptResponse) GetRedirectTo() string
func (*LoginServiceAcceptResponse) ProtoMessage ¶ added in v1.10.0
func (*LoginServiceAcceptResponse) ProtoMessage()
func (*LoginServiceAcceptResponse) ProtoReflect ¶ added in v1.10.0
func (x *LoginServiceAcceptResponse) ProtoReflect() protoreflect.Message
func (*LoginServiceAcceptResponse) Reset ¶ added in v1.10.0
func (x *LoginServiceAcceptResponse) Reset()
func (*LoginServiceAcceptResponse) String ¶ added in v1.10.0
func (x *LoginServiceAcceptResponse) String() string
type LoginServiceClient ¶ added in v1.10.0
type LoginServiceClient interface {
Accept(ctx context.Context, in *LoginServiceAcceptRequest, opts ...grpc.CallOption) (*LoginServiceAcceptResponse, error)
}
LoginServiceClient is the client API for LoginService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
All RPCs require a valid service-to-service token.
func NewLoginServiceClient ¶ added in v1.10.0
func NewLoginServiceClient(cc grpc.ClientConnInterface) LoginServiceClient
type LoginServiceServer ¶ added in v1.10.0
type LoginServiceServer interface {
Accept(context.Context, *LoginServiceAcceptRequest) (*LoginServiceAcceptResponse, error)
// contains filtered or unexported methods
}
LoginServiceServer is the server API for LoginService service. All implementations must embed UnimplementedLoginServiceServer for forward compatibility.
All RPCs require a valid service-to-service token.
type ManagedClient ¶ added in v1.31.1
type ManagedClient struct {
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
RedirectUris []string `protobuf:"bytes,2,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"`
GrantTypes []string `protobuf:"bytes,3,rep,name=grant_types,json=grantTypes,proto3" json:"grant_types,omitempty"`
ResponseTypes []string `protobuf:"bytes,4,rep,name=response_types,json=responseTypes,proto3" json:"response_types,omitempty"`
Scopes []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"`
Public bool `protobuf:"varint,6,opt,name=public,proto3" json:"public,omitempty"`
ClientName string `protobuf:"bytes,7,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
Owner string `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"`
Trusted bool `protobuf:"varint,9,opt,name=trusted,proto3" json:"trusted,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*ManagedClient) Descriptor
deprecated
added in
v1.31.1
func (*ManagedClient) Descriptor() ([]byte, []int)
Deprecated: Use ManagedClient.ProtoReflect.Descriptor instead.
func (*ManagedClient) GetClientId ¶ added in v1.31.1
func (x *ManagedClient) GetClientId() string
func (*ManagedClient) GetClientName ¶ added in v1.31.1
func (x *ManagedClient) GetClientName() string
func (*ManagedClient) GetCreatedAt ¶ added in v1.31.1
func (x *ManagedClient) GetCreatedAt() *timestamppb.Timestamp
func (*ManagedClient) GetGrantTypes ¶ added in v1.31.1
func (x *ManagedClient) GetGrantTypes() []string
func (*ManagedClient) GetOwner ¶ added in v1.31.1
func (x *ManagedClient) GetOwner() string
func (*ManagedClient) GetPublic ¶ added in v1.31.1
func (x *ManagedClient) GetPublic() bool
func (*ManagedClient) GetRedirectUris ¶ added in v1.31.1
func (x *ManagedClient) GetRedirectUris() []string
func (*ManagedClient) GetResponseTypes ¶ added in v1.31.1
func (x *ManagedClient) GetResponseTypes() []string
func (*ManagedClient) GetScopes ¶ added in v1.31.1
func (x *ManagedClient) GetScopes() []string
func (*ManagedClient) GetTrusted ¶ added in v1.31.1
func (x *ManagedClient) GetTrusted() bool
func (*ManagedClient) GetUpdatedAt ¶ added in v1.31.1
func (x *ManagedClient) GetUpdatedAt() *timestamppb.Timestamp
func (*ManagedClient) ProtoMessage ¶ added in v1.31.1
func (*ManagedClient) ProtoMessage()
func (*ManagedClient) ProtoReflect ¶ added in v1.31.1
func (x *ManagedClient) ProtoReflect() protoreflect.Message
func (*ManagedClient) Reset ¶ added in v1.31.1
func (x *ManagedClient) Reset()
func (*ManagedClient) String ¶ added in v1.31.1
func (x *ManagedClient) String() string
type SessionPayload ¶
type SessionPayload struct {
// sensitive: anti-CSRF session-binding token; never log. 64-char hex token.
State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
// sensitive: OIDC anti-replay token; optional (absent in non-OIDC flows).
Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
// sensitive: PKCE code_verifier is a cryptographic secret; never log. Not
// validated here for Doorkeeper parity: Doorkeeper doesn't enforce RFC
// 7636's length/charset constraints.
PkceVerifier string `protobuf:"bytes,3,opt,name=pkce_verifier,json=pkceVerifier,proto3" json:"pkce_verifier,omitempty"`
// required: origin URL the OAuth flow started from.
Origin string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"`
// sensitive: arbitrary OAuth passthrough params; may carry sensitive values.
Params map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SessionPayload) Descriptor
deprecated
func (*SessionPayload) Descriptor() ([]byte, []int)
Deprecated: Use SessionPayload.ProtoReflect.Descriptor instead.
func (*SessionPayload) GetNonce ¶
func (x *SessionPayload) GetNonce() string
func (*SessionPayload) GetOrigin ¶
func (x *SessionPayload) GetOrigin() string
func (*SessionPayload) GetParams ¶
func (x *SessionPayload) GetParams() map[string]string
func (*SessionPayload) GetPkceVerifier ¶
func (x *SessionPayload) GetPkceVerifier() string
func (*SessionPayload) GetState ¶
func (x *SessionPayload) GetState() string
func (*SessionPayload) ProtoMessage ¶
func (*SessionPayload) ProtoMessage()
func (*SessionPayload) ProtoReflect ¶
func (x *SessionPayload) ProtoReflect() protoreflect.Message
func (*SessionPayload) Reset ¶
func (x *SessionPayload) Reset()
func (*SessionPayload) String ¶
func (x *SessionPayload) String() string
type UnimplementedAuthServiceServer ¶ added in v1.10.0
type UnimplementedAuthServiceServer struct{}
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAuthServiceServer) Health ¶ added in v1.10.0
func (UnimplementedAuthServiceServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
type UnimplementedConsentServiceServer ¶ added in v1.10.0
type UnimplementedConsentServiceServer struct{}
UnimplementedConsentServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedInternalOAuthClientsServiceServer ¶ added in v1.31.1
type UnimplementedInternalOAuthClientsServiceServer struct{}
UnimplementedInternalOAuthClientsServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedInternalOAuthClientsServiceServer) CreateClient ¶ added in v1.31.1
func (UnimplementedInternalOAuthClientsServiceServer) DeleteClient ¶ added in v1.31.1
type UnimplementedInternalOAuthSessionsServiceServer ¶ added in v1.10.0
type UnimplementedInternalOAuthSessionsServiceServer struct{}
UnimplementedInternalOAuthSessionsServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedLoginServiceServer ¶ added in v1.10.0
type UnimplementedLoginServiceServer struct{}
UnimplementedLoginServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedLoginServiceServer) Accept ¶ added in v1.10.0
func (UnimplementedLoginServiceServer) Accept(context.Context, *LoginServiceAcceptRequest) (*LoginServiceAcceptResponse, error)
type UnsafeAuthServiceServer ¶ added in v1.10.0
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeConsentServiceServer ¶ added in v1.10.0
type UnsafeConsentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeConsentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConsentServiceServer will result in compilation errors.
type UnsafeInternalOAuthClientsServiceServer ¶ added in v1.31.1
type UnsafeInternalOAuthClientsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInternalOAuthClientsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InternalOAuthClientsServiceServer will result in compilation errors.
type UnsafeInternalOAuthSessionsServiceServer ¶ added in v1.10.0
type UnsafeInternalOAuthSessionsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInternalOAuthSessionsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InternalOAuthSessionsServiceServer will result in compilation errors.
type UnsafeLoginServiceServer ¶ added in v1.10.0
type UnsafeLoginServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLoginServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LoginServiceServer will result in compilation errors.