auth

package
v1.18.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
const (
	AuthService_Health_FullMethodName = "/gitlab.iam.auth.v1.AuthService/Health"
)
View Source
const (
	LoginService_Accept_FullMethodName = "/gitlab.iam.auth.v1.LoginService/Accept"
)

Variables

View Source
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)

View Source
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)

View Source
var File_proto_auth_auth_proto protoreflect.FileDescriptor
View Source
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)

View Source
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 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) Descriptor() ([]byte, []int)

Deprecated: Use Client.ProtoReflect.Descriptor instead.

func (*Client) GetClientId added in v1.10.0

func (x *Client) GetClientId() string

func (*Client) GetClientName added in v1.10.0

func (x *Client) GetClientName() string

func (*Client) GetClientOwner added in v1.10.0

func (x *Client) GetClientOwner() string

func (*Client) GetCreatedAt added in v1.10.0

func (x *Client) GetCreatedAt() *timestamppb.Timestamp

func (*Client) GetScopes added in v1.10.0

func (x *Client) GetScopes() []string

func (*Client) GetTrusted added in v1.10.0

func (x *Client) GetTrusted() bool

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

func (*Client) Reset added in v1.10.0

func (x *Client) Reset()

func (*Client) String added in v1.10.0

func (x *Client) String() string

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 (*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 (*ConsentServiceAcceptResponse) Reset added in v1.10.0

func (x *ConsentServiceAcceptResponse) Reset()

func (*ConsentServiceAcceptResponse) String added in v1.10.0

type ConsentServiceClient added in v1.10.0

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 (*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 (*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 (*ConsentServiceRejectResponse) Reset added in v1.10.0

func (x *ConsentServiceRejectResponse) Reset()

func (*ConsentServiceRejectResponse) String added in v1.10.0

type ConsentServiceServer added in v1.10.0

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 InternalOAuthSessionsServiceClient added in v1.10.0

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 (*InternalOAuthSessionsServiceCreateRequest) ProtoMessage added in v1.10.0

func (*InternalOAuthSessionsServiceCreateRequest) ProtoReflect added in v1.10.0

func (*InternalOAuthSessionsServiceCreateRequest) Reset added in v1.10.0

func (*InternalOAuthSessionsServiceCreateRequest) String added in v1.10.0

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

Deprecated: Use InternalOAuthSessionsServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*InternalOAuthSessionsServiceCreateResponse) GetCreatedAt added in v1.10.0

func (*InternalOAuthSessionsServiceCreateResponse) GetExpiresAt added in v1.10.0

func (*InternalOAuthSessionsServiceCreateResponse) GetPayload added in v1.10.0

func (*InternalOAuthSessionsServiceCreateResponse) ProtoMessage added in v1.10.0

func (*InternalOAuthSessionsServiceCreateResponse) ProtoReflect added in v1.10.0

func (*InternalOAuthSessionsServiceCreateResponse) Reset added in v1.10.0

func (*InternalOAuthSessionsServiceCreateResponse) String added in v1.10.0

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 (*InternalOAuthSessionsServiceDeleteRequest) ProtoMessage added in v1.10.0

func (*InternalOAuthSessionsServiceDeleteRequest) ProtoReflect added in v1.10.0

func (*InternalOAuthSessionsServiceDeleteRequest) Reset added in v1.10.0

func (*InternalOAuthSessionsServiceDeleteRequest) String added in v1.10.0

type InternalOAuthSessionsServiceDeleteResponse added in v1.10.0

type InternalOAuthSessionsServiceDeleteResponse struct {
	// contains filtered or unexported fields
}

func (*InternalOAuthSessionsServiceDeleteResponse) Descriptor deprecated added in v1.10.0

Deprecated: Use InternalOAuthSessionsServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*InternalOAuthSessionsServiceDeleteResponse) ProtoMessage added in v1.10.0

func (*InternalOAuthSessionsServiceDeleteResponse) ProtoReflect added in v1.10.0

func (*InternalOAuthSessionsServiceDeleteResponse) Reset added in v1.10.0

func (*InternalOAuthSessionsServiceDeleteResponse) String added in v1.10.0

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 (*InternalOAuthSessionsServiceGetRequest) ProtoMessage added in v1.10.0

func (*InternalOAuthSessionsServiceGetRequest) ProtoReflect added in v1.10.0

func (*InternalOAuthSessionsServiceGetRequest) Reset added in v1.10.0

func (*InternalOAuthSessionsServiceGetRequest) String added in v1.10.0

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 (*InternalOAuthSessionsServiceGetResponse) GetExpiresAt added in v1.10.0

func (*InternalOAuthSessionsServiceGetResponse) GetPayload added in v1.10.0

func (*InternalOAuthSessionsServiceGetResponse) ProtoMessage added in v1.10.0

func (*InternalOAuthSessionsServiceGetResponse) ProtoReflect added in v1.10.0

func (*InternalOAuthSessionsServiceGetResponse) Reset added in v1.10.0

func (*InternalOAuthSessionsServiceGetResponse) String added in v1.10.0

type InternalOAuthSessionsServiceServer added in v1.10.0

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"`
	Subject   string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// sensitive: end-user display name (PII); mask before logging.
	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 (*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 (*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 SessionPayload

type SessionPayload struct {

	// sensitive: anti-CSRF session-binding token; never log.
	State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// sensitive: OIDC anti-replay session-binding token; never log.
	Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// sensitive: PKCE verifier is a cryptographic secret; never log.
	PkceVerifier string `protobuf:"bytes,3,opt,name=pkce_verifier,json=pkceVerifier,proto3" json:"pkce_verifier,omitempty"`
	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

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.

func (UnimplementedConsentServiceServer) Accept added in v1.10.0

func (UnimplementedConsentServiceServer) Get added in v1.10.0

func (UnimplementedConsentServiceServer) Reject added in v1.10.0

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.

func (UnimplementedInternalOAuthSessionsServiceServer) Get added in v1.10.0

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

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 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL