auth

package
v5.0.0-...-ad4f444 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PatType_name = map[int32]string{
		0: "ANY",
		1: "PERSONAL",
		2: "DOCUMENT",
	}
	PatType_value = map[string]int32{
		"ANY":      0,
		"PERSONAL": 1,
		"DOCUMENT": 2,
	}
)

Enum value maps for PatType.

View Source
var AuthCodeExchanger_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.AuthCodeExchanger",
	HandlerType: (*AuthCodeExchangerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Exchange",
			Handler:    _AuthCodeExchanger_Exchange_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

AuthCodeExchanger_ServiceDesc is the grpc.ServiceDesc for AuthCodeExchanger 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 AuthCodeProvider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.AuthCodeProvider",
	HandlerType: (*AuthCodeProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAuthCode",
			Handler:    _AuthCodeProvider_CreateAuthCode_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

AuthCodeProvider_ServiceDesc is the grpc.ServiceDesc for AuthCodeProvider 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 AuthTokenPruner_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.AuthTokenPruner",
	HandlerType: (*AuthTokenPrunerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PruneTokens",
			Handler:    _AuthTokenPruner_PruneTokens_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

AuthTokenPruner_ServiceDesc is the grpc.ServiceDesc for AuthTokenPruner 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 AuthTokenRefresher_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.AuthTokenRefresher",
	HandlerType: (*AuthTokenRefresherServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Refresh",
			Handler:    _AuthTokenRefresher_Refresh_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

AuthTokenRefresher_ServiceDesc is the grpc.ServiceDesc for AuthTokenRefresher 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 AuthTokenRevoker_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.AuthTokenRevoker",
	HandlerType: (*AuthTokenRevokerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Revoke",
			Handler:    _AuthTokenRevoker_Revoke_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

AuthTokenRevoker_ServiceDesc is the grpc.ServiceDesc for AuthTokenRevoker 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 AuthTokenVerifier_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.AuthTokenVerifier",
	HandlerType: (*AuthTokenVerifierServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Verify",
			Handler:    _AuthTokenVerifier_Verify_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

AuthTokenVerifier_ServiceDesc is the grpc.ServiceDesc for AuthTokenVerifier 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 ConsentProvider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.ConsentProvider",
	HandlerType: (*ConsentProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConsent",
			Handler:    _ConsentProvider_GetConsent_Handler,
		},
		{
			MethodName: "CreateConsent",
			Handler:    _ConsentProvider_CreateConsent_Handler,
		},
		{
			MethodName: "AcceptConsent",
			Handler:    _ConsentProvider_AcceptConsent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

ConsentProvider_ServiceDesc is the grpc.ServiceDesc for ConsentProvider 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_cells_auth_proto protoreflect.FileDescriptor
View Source
var LoginChallengeCode_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.LoginChallengeCode",
	HandlerType: (*LoginChallengeCodeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LoginChallengeCode",
			Handler:    _LoginChallengeCode_LoginChallengeCode_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

LoginChallengeCode_ServiceDesc is the grpc.ServiceDesc for LoginChallengeCode 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 LoginProvider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.LoginProvider",
	HandlerType: (*LoginProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLogin",
			Handler:    _LoginProvider_GetLogin_Handler,
		},
		{
			MethodName: "CreateLogin",
			Handler:    _LoginProvider_CreateLogin_Handler,
		},
		{
			MethodName: "AcceptLogin",
			Handler:    _LoginProvider_AcceptLogin_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

LoginProvider_ServiceDesc is the grpc.ServiceDesc for LoginProvider 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 LogoutProvider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.LogoutProvider",
	HandlerType: (*LogoutProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateLogout",
			Handler:    _LogoutProvider_CreateLogout_Handler,
		},
		{
			MethodName: "AcceptLogout",
			Handler:    _LogoutProvider_AcceptLogout_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

LogoutProvider_ServiceDesc is the grpc.ServiceDesc for LogoutProvider 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 PasswordCredentialsCode_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.PasswordCredentialsCode",
	HandlerType: (*PasswordCredentialsCodeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PasswordCredentialsCode",
			Handler:    _PasswordCredentialsCode_PasswordCredentialsCode_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

PasswordCredentialsCode_ServiceDesc is the grpc.ServiceDesc for PasswordCredentialsCode 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 PasswordCredentialsToken_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.PasswordCredentialsToken",
	HandlerType: (*PasswordCredentialsTokenServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PasswordCredentialsToken",
			Handler:    _PasswordCredentialsToken_PasswordCredentialsToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

PasswordCredentialsToken_ServiceDesc is the grpc.ServiceDesc for PasswordCredentialsToken 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 PersonalAccessTokenService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.PersonalAccessTokenService",
	HandlerType: (*PersonalAccessTokenServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Generate",
			Handler:    _PersonalAccessTokenService_Generate_Handler,
		},
		{
			MethodName: "Revoke",
			Handler:    _PersonalAccessTokenService_Revoke_Handler,
		},
		{
			MethodName: "List",
			Handler:    _PersonalAccessTokenService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cells-auth.proto",
}

PersonalAccessTokenService_ServiceDesc is the grpc.ServiceDesc for PersonalAccessTokenService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAuthCodeExchangerServer

func RegisterAuthCodeExchangerServer(s grpc.ServiceRegistrar, srv AuthCodeExchangerServer)

func RegisterAuthCodeProviderServer

func RegisterAuthCodeProviderServer(s grpc.ServiceRegistrar, srv AuthCodeProviderServer)

func RegisterAuthTokenPrunerServer

func RegisterAuthTokenPrunerServer(s grpc.ServiceRegistrar, srv AuthTokenPrunerServer)

func RegisterAuthTokenRefresherServer

func RegisterAuthTokenRefresherServer(s grpc.ServiceRegistrar, srv AuthTokenRefresherServer)

func RegisterAuthTokenRevokerServer

func RegisterAuthTokenRevokerServer(s grpc.ServiceRegistrar, srv AuthTokenRevokerServer)

func RegisterAuthTokenVerifierServer

func RegisterAuthTokenVerifierServer(s grpc.ServiceRegistrar, srv AuthTokenVerifierServer)

func RegisterConsentProviderServer

func RegisterConsentProviderServer(s grpc.ServiceRegistrar, srv ConsentProviderServer)

func RegisterLoginChallengeCodeServer

func RegisterLoginChallengeCodeServer(s grpc.ServiceRegistrar, srv LoginChallengeCodeServer)

func RegisterLoginProviderServer

func RegisterLoginProviderServer(s grpc.ServiceRegistrar, srv LoginProviderServer)

func RegisterLogoutProviderServer

func RegisterLogoutProviderServer(s grpc.ServiceRegistrar, srv LogoutProviderServer)

func RegisterPasswordCredentialsCodeServer

func RegisterPasswordCredentialsCodeServer(s grpc.ServiceRegistrar, srv PasswordCredentialsCodeServer)

func RegisterPasswordCredentialsTokenServer

func RegisterPasswordCredentialsTokenServer(s grpc.ServiceRegistrar, srv PasswordCredentialsTokenServer)

func RegisterPersonalAccessTokenServiceServer

func RegisterPersonalAccessTokenServiceServer(s grpc.ServiceRegistrar, srv PersonalAccessTokenServiceServer)

Types

type AcceptConsentRequest

type AcceptConsentRequest struct {
	Challenge   string            `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	Scopes      []string          `protobuf:"bytes,2,rep,name=Scopes,proto3" json:"Scopes,omitempty"`
	Audiences   []string          `protobuf:"bytes,3,rep,name=Audiences,proto3" json:"Audiences,omitempty"`
	AccessToken map[string]string `` /* 163-byte string literal not displayed */
	IDToken     map[string]string `` /* 155-byte string literal not displayed */
	Verifier    string            `protobuf:"bytes,6,opt,name=Verifier,proto3" json:"Verifier,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptConsentRequest) Descriptor deprecated

func (*AcceptConsentRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcceptConsentRequest.ProtoReflect.Descriptor instead.

func (*AcceptConsentRequest) GetAccessToken

func (x *AcceptConsentRequest) GetAccessToken() map[string]string

func (*AcceptConsentRequest) GetAudiences

func (x *AcceptConsentRequest) GetAudiences() []string

func (*AcceptConsentRequest) GetChallenge

func (x *AcceptConsentRequest) GetChallenge() string

func (*AcceptConsentRequest) GetIDToken

func (x *AcceptConsentRequest) GetIDToken() map[string]string

func (*AcceptConsentRequest) GetScopes

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

func (*AcceptConsentRequest) GetVerifier

func (x *AcceptConsentRequest) GetVerifier() string

func (*AcceptConsentRequest) ProtoMessage

func (*AcceptConsentRequest) ProtoMessage()

func (*AcceptConsentRequest) ProtoReflect

func (x *AcceptConsentRequest) ProtoReflect() protoreflect.Message

func (*AcceptConsentRequest) Reset

func (x *AcceptConsentRequest) Reset()

func (*AcceptConsentRequest) String

func (x *AcceptConsentRequest) String() string

type AcceptConsentResponse

type AcceptConsentResponse struct {
	Challenge string `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptConsentResponse) Descriptor deprecated

func (*AcceptConsentResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcceptConsentResponse.ProtoReflect.Descriptor instead.

func (*AcceptConsentResponse) GetChallenge

func (x *AcceptConsentResponse) GetChallenge() string

func (*AcceptConsentResponse) ProtoMessage

func (*AcceptConsentResponse) ProtoMessage()

func (*AcceptConsentResponse) ProtoReflect

func (x *AcceptConsentResponse) ProtoReflect() protoreflect.Message

func (*AcceptConsentResponse) Reset

func (x *AcceptConsentResponse) Reset()

func (*AcceptConsentResponse) String

func (x *AcceptConsentResponse) String() string

type AcceptLoginRequest

type AcceptLoginRequest struct {
	Challenge string `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	Verifier  string `protobuf:"bytes,2,opt,name=Verifier,proto3" json:"Verifier,omitempty"`
	Subject   string `protobuf:"bytes,3,opt,name=Subject,proto3" json:"Subject,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptLoginRequest) Descriptor deprecated

func (*AcceptLoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcceptLoginRequest.ProtoReflect.Descriptor instead.

func (*AcceptLoginRequest) GetChallenge

func (x *AcceptLoginRequest) GetChallenge() string

func (*AcceptLoginRequest) GetSubject

func (x *AcceptLoginRequest) GetSubject() string

func (*AcceptLoginRequest) GetVerifier

func (x *AcceptLoginRequest) GetVerifier() string

func (*AcceptLoginRequest) ProtoMessage

func (*AcceptLoginRequest) ProtoMessage()

func (*AcceptLoginRequest) ProtoReflect

func (x *AcceptLoginRequest) ProtoReflect() protoreflect.Message

func (*AcceptLoginRequest) Reset

func (x *AcceptLoginRequest) Reset()

func (*AcceptLoginRequest) String

func (x *AcceptLoginRequest) String() string

type AcceptLoginResponse

type AcceptLoginResponse struct {
	Challenge string `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptLoginResponse) Descriptor deprecated

func (*AcceptLoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcceptLoginResponse.ProtoReflect.Descriptor instead.

func (*AcceptLoginResponse) GetChallenge

func (x *AcceptLoginResponse) GetChallenge() string

func (*AcceptLoginResponse) ProtoMessage

func (*AcceptLoginResponse) ProtoMessage()

func (*AcceptLoginResponse) ProtoReflect

func (x *AcceptLoginResponse) ProtoReflect() protoreflect.Message

func (*AcceptLoginResponse) Reset

func (x *AcceptLoginResponse) Reset()

func (*AcceptLoginResponse) String

func (x *AcceptLoginResponse) String() string

type AcceptLogoutRequest

type AcceptLogoutRequest struct {
	Challenge    string `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	AccessToken  string `protobuf:"bytes,2,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	RefreshToken string `protobuf:"bytes,3,opt,name=RefreshToken,proto3" json:"RefreshToken,omitempty"`
	// contains filtered or unexported fields
}

func (*AcceptLogoutRequest) Descriptor deprecated

func (*AcceptLogoutRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcceptLogoutRequest.ProtoReflect.Descriptor instead.

func (*AcceptLogoutRequest) GetAccessToken

func (x *AcceptLogoutRequest) GetAccessToken() string

func (*AcceptLogoutRequest) GetChallenge

func (x *AcceptLogoutRequest) GetChallenge() string

func (*AcceptLogoutRequest) GetRefreshToken

func (x *AcceptLogoutRequest) GetRefreshToken() string

func (*AcceptLogoutRequest) ProtoMessage

func (*AcceptLogoutRequest) ProtoMessage()

func (*AcceptLogoutRequest) ProtoReflect

func (x *AcceptLogoutRequest) ProtoReflect() protoreflect.Message

func (*AcceptLogoutRequest) Reset

func (x *AcceptLogoutRequest) Reset()

func (*AcceptLogoutRequest) String

func (x *AcceptLogoutRequest) String() string

type AcceptLogoutResponse

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

func (*AcceptLogoutResponse) Descriptor deprecated

func (*AcceptLogoutResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcceptLogoutResponse.ProtoReflect.Descriptor instead.

func (*AcceptLogoutResponse) ProtoMessage

func (*AcceptLogoutResponse) ProtoMessage()

func (*AcceptLogoutResponse) ProtoReflect

func (x *AcceptLogoutResponse) ProtoReflect() protoreflect.Message

func (*AcceptLogoutResponse) Reset

func (x *AcceptLogoutResponse) Reset()

func (*AcceptLogoutResponse) String

func (x *AcceptLogoutResponse) String() string

type AuthCodeExchangerClient

type AuthCodeExchangerClient interface {
	Exchange(ctx context.Context, in *ExchangeRequest, opts ...grpc.CallOption) (*ExchangeResponse, error)
}

AuthCodeExchangerClient is the client API for AuthCodeExchanger 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.

type AuthCodeExchangerServer

type AuthCodeExchangerServer interface {
	Exchange(context.Context, *ExchangeRequest) (*ExchangeResponse, error)
	// contains filtered or unexported methods
}

AuthCodeExchangerServer is the server API for AuthCodeExchanger service. All implementations must embed UnimplementedAuthCodeExchangerServer for forward compatibility

type AuthCodeProviderClient

type AuthCodeProviderClient interface {
	CreateAuthCode(ctx context.Context, in *CreateAuthCodeRequest, opts ...grpc.CallOption) (*CreateAuthCodeResponse, error)
}

AuthCodeProviderClient is the client API for AuthCodeProvider 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.

type AuthCodeProviderServer

type AuthCodeProviderServer interface {
	CreateAuthCode(context.Context, *CreateAuthCodeRequest) (*CreateAuthCodeResponse, error)
	// contains filtered or unexported methods
}

AuthCodeProviderServer is the server API for AuthCodeProvider service. All implementations must embed UnimplementedAuthCodeProviderServer for forward compatibility

type AuthTokenPrunerClient

type AuthTokenPrunerClient interface {
	// PruneTokens clear revoked tokens
	PruneTokens(ctx context.Context, in *PruneTokensRequest, opts ...grpc.CallOption) (*PruneTokensResponse, error)
}

AuthTokenPrunerClient is the client API for AuthTokenPruner 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.

type AuthTokenPrunerServer

type AuthTokenPrunerServer interface {
	// PruneTokens clear revoked tokens
	PruneTokens(context.Context, *PruneTokensRequest) (*PruneTokensResponse, error)
	// contains filtered or unexported methods
}

AuthTokenPrunerServer is the server API for AuthTokenPruner service. All implementations must embed UnimplementedAuthTokenPrunerServer for forward compatibility

type AuthTokenRefresherClient

type AuthTokenRefresherClient interface {
	Refresh(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error)
}

AuthTokenRefresherClient is the client API for AuthTokenRefresher 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.

type AuthTokenRefresherServer

type AuthTokenRefresherServer interface {
	Refresh(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
	// contains filtered or unexported methods
}

AuthTokenRefresherServer is the server API for AuthTokenRefresher service. All implementations must embed UnimplementedAuthTokenRefresherServer for forward compatibility

type AuthTokenRevokerClient

type AuthTokenRevokerClient interface {
	// Revoker invalidates the current token and specifies if the invalidation is due to a refresh or a revokation
	Revoke(ctx context.Context, in *RevokeTokenRequest, opts ...grpc.CallOption) (*RevokeTokenResponse, error)
}

AuthTokenRevokerClient is the client API for AuthTokenRevoker 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.

type AuthTokenRevokerServer

type AuthTokenRevokerServer interface {
	// Revoker invalidates the current token and specifies if the invalidation is due to a refresh or a revokation
	Revoke(context.Context, *RevokeTokenRequest) (*RevokeTokenResponse, error)
	// contains filtered or unexported methods
}

AuthTokenRevokerServer is the server API for AuthTokenRevoker service. All implementations must embed UnimplementedAuthTokenRevokerServer for forward compatibility

type AuthTokenVerifierClient

type AuthTokenVerifierClient interface {
	// Verifies a token and returns claims
	Verify(ctx context.Context, in *VerifyTokenRequest, opts ...grpc.CallOption) (*VerifyTokenResponse, error)
}

AuthTokenVerifierClient is the client API for AuthTokenVerifier 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.

type AuthTokenVerifierServer

type AuthTokenVerifierServer interface {
	// Verifies a token and returns claims
	Verify(context.Context, *VerifyTokenRequest) (*VerifyTokenResponse, error)
	// contains filtered or unexported methods
}

AuthTokenVerifierServer is the server API for AuthTokenVerifier service. All implementations must embed UnimplementedAuthTokenVerifierServer for forward compatibility

type ConsentProviderClient

type ConsentProviderClient interface {
	GetConsent(ctx context.Context, in *GetConsentRequest, opts ...grpc.CallOption) (*GetConsentResponse, error)
	CreateConsent(ctx context.Context, in *CreateConsentRequest, opts ...grpc.CallOption) (*CreateConsentResponse, error)
	AcceptConsent(ctx context.Context, in *AcceptConsentRequest, opts ...grpc.CallOption) (*AcceptConsentResponse, error)
}

ConsentProviderClient is the client API for ConsentProvider 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.

type ConsentProviderServer

type ConsentProviderServer interface {
	GetConsent(context.Context, *GetConsentRequest) (*GetConsentResponse, error)
	CreateConsent(context.Context, *CreateConsentRequest) (*CreateConsentResponse, error)
	AcceptConsent(context.Context, *AcceptConsentRequest) (*AcceptConsentResponse, error)
	// contains filtered or unexported methods
}

ConsentProviderServer is the server API for ConsentProvider service. All implementations must embed UnimplementedConsentProviderServer for forward compatibility

type CreateAuthCodeRequest

type CreateAuthCodeRequest struct {
	Consent             *ID    `protobuf:"bytes,1,opt,name=Consent,proto3" json:"Consent,omitempty"`
	ClientID            string `protobuf:"bytes,2,opt,name=ClientID,proto3" json:"ClientID,omitempty"`
	RedirectURI         string `protobuf:"bytes,3,opt,name=RedirectURI,proto3" json:"RedirectURI,omitempty"`
	CodeChallenge       string `protobuf:"bytes,4,opt,name=CodeChallenge,proto3" json:"CodeChallenge,omitempty"`
	CodeChallengeMethod string `protobuf:"bytes,5,opt,name=CodeChallengeMethod,proto3" json:"CodeChallengeMethod,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAuthCodeRequest) Descriptor deprecated

func (*CreateAuthCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAuthCodeRequest.ProtoReflect.Descriptor instead.

func (*CreateAuthCodeRequest) GetClientID

func (x *CreateAuthCodeRequest) GetClientID() string

func (*CreateAuthCodeRequest) GetCodeChallenge

func (x *CreateAuthCodeRequest) GetCodeChallenge() string

func (*CreateAuthCodeRequest) GetCodeChallengeMethod

func (x *CreateAuthCodeRequest) GetCodeChallengeMethod() string

func (*CreateAuthCodeRequest) GetConsent

func (x *CreateAuthCodeRequest) GetConsent() *ID

func (*CreateAuthCodeRequest) GetRedirectURI

func (x *CreateAuthCodeRequest) GetRedirectURI() string

func (*CreateAuthCodeRequest) ProtoMessage

func (*CreateAuthCodeRequest) ProtoMessage()

func (*CreateAuthCodeRequest) ProtoReflect

func (x *CreateAuthCodeRequest) ProtoReflect() protoreflect.Message

func (*CreateAuthCodeRequest) Reset

func (x *CreateAuthCodeRequest) Reset()

func (*CreateAuthCodeRequest) String

func (x *CreateAuthCodeRequest) String() string

type CreateAuthCodeResponse

type CreateAuthCodeResponse struct {
	Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAuthCodeResponse) Descriptor deprecated

func (*CreateAuthCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateAuthCodeResponse.ProtoReflect.Descriptor instead.

func (*CreateAuthCodeResponse) GetCode

func (x *CreateAuthCodeResponse) GetCode() string

func (*CreateAuthCodeResponse) ProtoMessage

func (*CreateAuthCodeResponse) ProtoMessage()

func (*CreateAuthCodeResponse) ProtoReflect

func (x *CreateAuthCodeResponse) ProtoReflect() protoreflect.Message

func (*CreateAuthCodeResponse) Reset

func (x *CreateAuthCodeResponse) Reset()

func (*CreateAuthCodeResponse) String

func (x *CreateAuthCodeResponse) String() string

type CreateConsentRequest

type CreateConsentRequest struct {
	LoginChallenge string `protobuf:"bytes,1,opt,name=LoginChallenge,proto3" json:"LoginChallenge,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateConsentRequest) Descriptor deprecated

func (*CreateConsentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateConsentRequest.ProtoReflect.Descriptor instead.

func (*CreateConsentRequest) GetLoginChallenge

func (x *CreateConsentRequest) GetLoginChallenge() string

func (*CreateConsentRequest) ProtoMessage

func (*CreateConsentRequest) ProtoMessage()

func (*CreateConsentRequest) ProtoReflect

func (x *CreateConsentRequest) ProtoReflect() protoreflect.Message

func (*CreateConsentRequest) Reset

func (x *CreateConsentRequest) Reset()

func (*CreateConsentRequest) String

func (x *CreateConsentRequest) String() string

type CreateConsentResponse

type CreateConsentResponse struct {
	Consent *ID `protobuf:"bytes,1,opt,name=Consent,proto3" json:"Consent,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateConsentResponse) Descriptor deprecated

func (*CreateConsentResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateConsentResponse.ProtoReflect.Descriptor instead.

func (*CreateConsentResponse) GetConsent

func (x *CreateConsentResponse) GetConsent() *ID

func (*CreateConsentResponse) ProtoMessage

func (*CreateConsentResponse) ProtoMessage()

func (*CreateConsentResponse) ProtoReflect

func (x *CreateConsentResponse) ProtoReflect() protoreflect.Message

func (*CreateConsentResponse) Reset

func (x *CreateConsentResponse) Reset()

func (*CreateConsentResponse) String

func (x *CreateConsentResponse) String() string

type CreateLoginRequest

type CreateLoginRequest struct {
	ClientID  string   `protobuf:"bytes,1,opt,name=ClientID,proto3" json:"ClientID,omitempty"`
	Scopes    []string `protobuf:"bytes,2,rep,name=Scopes,proto3" json:"Scopes,omitempty"`
	Audiences []string `protobuf:"bytes,3,rep,name=Audiences,proto3" json:"Audiences,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLoginRequest) Descriptor deprecated

func (*CreateLoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateLoginRequest.ProtoReflect.Descriptor instead.

func (*CreateLoginRequest) GetAudiences

func (x *CreateLoginRequest) GetAudiences() []string

func (*CreateLoginRequest) GetClientID

func (x *CreateLoginRequest) GetClientID() string

func (*CreateLoginRequest) GetScopes

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

func (*CreateLoginRequest) ProtoMessage

func (*CreateLoginRequest) ProtoMessage()

func (*CreateLoginRequest) ProtoReflect

func (x *CreateLoginRequest) ProtoReflect() protoreflect.Message

func (*CreateLoginRequest) Reset

func (x *CreateLoginRequest) Reset()

func (*CreateLoginRequest) String

func (x *CreateLoginRequest) String() string

type CreateLoginResponse

type CreateLoginResponse struct {
	Login *ID `protobuf:"bytes,1,opt,name=Login,proto3" json:"Login,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLoginResponse) Descriptor deprecated

func (*CreateLoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateLoginResponse.ProtoReflect.Descriptor instead.

func (*CreateLoginResponse) GetLogin

func (x *CreateLoginResponse) GetLogin() *ID

func (*CreateLoginResponse) ProtoMessage

func (*CreateLoginResponse) ProtoMessage()

func (*CreateLoginResponse) ProtoReflect

func (x *CreateLoginResponse) ProtoReflect() protoreflect.Message

func (*CreateLoginResponse) Reset

func (x *CreateLoginResponse) Reset()

func (*CreateLoginResponse) String

func (x *CreateLoginResponse) String() string

type CreateLogoutRequest

type CreateLogoutRequest struct {
	RequestURL string `protobuf:"bytes,1,opt,name=RequestURL,proto3" json:"RequestURL,omitempty"`
	Subject    string `protobuf:"bytes,2,opt,name=Subject,proto3" json:"Subject,omitempty"`
	SessionID  string `protobuf:"bytes,3,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLogoutRequest) Descriptor deprecated

func (*CreateLogoutRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateLogoutRequest.ProtoReflect.Descriptor instead.

func (*CreateLogoutRequest) GetRequestURL

func (x *CreateLogoutRequest) GetRequestURL() string

func (*CreateLogoutRequest) GetSessionID

func (x *CreateLogoutRequest) GetSessionID() string

func (*CreateLogoutRequest) GetSubject

func (x *CreateLogoutRequest) GetSubject() string

func (*CreateLogoutRequest) ProtoMessage

func (*CreateLogoutRequest) ProtoMessage()

func (*CreateLogoutRequest) ProtoReflect

func (x *CreateLogoutRequest) ProtoReflect() protoreflect.Message

func (*CreateLogoutRequest) Reset

func (x *CreateLogoutRequest) Reset()

func (*CreateLogoutRequest) String

func (x *CreateLogoutRequest) String() string

type CreateLogoutResponse

type CreateLogoutResponse struct {
	Logout *ID `protobuf:"bytes,1,opt,name=Logout,proto3" json:"Logout,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLogoutResponse) Descriptor deprecated

func (*CreateLogoutResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateLogoutResponse.ProtoReflect.Descriptor instead.

func (*CreateLogoutResponse) GetLogout

func (x *CreateLogoutResponse) GetLogout() *ID

func (*CreateLogoutResponse) ProtoMessage

func (*CreateLogoutResponse) ProtoMessage()

func (*CreateLogoutResponse) ProtoReflect

func (x *CreateLogoutResponse) ProtoReflect() protoreflect.Message

func (*CreateLogoutResponse) Reset

func (x *CreateLogoutResponse) Reset()

func (*CreateLogoutResponse) String

func (x *CreateLogoutResponse) String() string

type ExchangeRequest

type ExchangeRequest struct {
	Code         string `protobuf:"bytes,1,opt,name=Code,json=code,proto3" json:"Code,omitempty"`
	CodeVerifier string `protobuf:"bytes,2,opt,name=CodeVerifier,json=code_verifier,proto3" json:"CodeVerifier,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeRequest) Descriptor deprecated

func (*ExchangeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExchangeRequest.ProtoReflect.Descriptor instead.

func (*ExchangeRequest) GetCode

func (x *ExchangeRequest) GetCode() string

func (*ExchangeRequest) GetCodeVerifier

func (x *ExchangeRequest) GetCodeVerifier() string

func (*ExchangeRequest) ProtoMessage

func (*ExchangeRequest) ProtoMessage()

func (*ExchangeRequest) ProtoReflect

func (x *ExchangeRequest) ProtoReflect() protoreflect.Message

func (*ExchangeRequest) Reset

func (x *ExchangeRequest) Reset()

func (*ExchangeRequest) String

func (x *ExchangeRequest) String() string

type ExchangeResponse

type ExchangeResponse struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=AccessToken,json=access_token,proto3" json:"AccessToken,omitempty"`
	IDToken      string `protobuf:"bytes,2,opt,name=IDToken,json=id_token,proto3" json:"IDToken,omitempty"`
	RefreshToken string `protobuf:"bytes,3,opt,name=RefreshToken,json=refresh_token,proto3" json:"RefreshToken,omitempty"`
	Expiry       int64  `protobuf:"varint,4,opt,name=Expiry,json=expiry,proto3" json:"Expiry,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeResponse) Descriptor deprecated

func (*ExchangeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExchangeResponse.ProtoReflect.Descriptor instead.

func (*ExchangeResponse) GetAccessToken

func (x *ExchangeResponse) GetAccessToken() string

func (*ExchangeResponse) GetExpiry

func (x *ExchangeResponse) GetExpiry() int64

func (*ExchangeResponse) GetIDToken

func (x *ExchangeResponse) GetIDToken() string

func (*ExchangeResponse) GetRefreshToken

func (x *ExchangeResponse) GetRefreshToken() string

func (*ExchangeResponse) ProtoMessage

func (*ExchangeResponse) ProtoMessage()

func (*ExchangeResponse) ProtoReflect

func (x *ExchangeResponse) ProtoReflect() protoreflect.Message

func (*ExchangeResponse) Reset

func (x *ExchangeResponse) Reset()

func (*ExchangeResponse) String

func (x *ExchangeResponse) String() string

type GetConsentRequest

type GetConsentRequest struct {
	Challenge string `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConsentRequest) Descriptor deprecated

func (*GetConsentRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConsentRequest.ProtoReflect.Descriptor instead.

func (*GetConsentRequest) GetChallenge

func (x *GetConsentRequest) GetChallenge() string

func (*GetConsentRequest) ProtoMessage

func (*GetConsentRequest) ProtoMessage()

func (*GetConsentRequest) ProtoReflect

func (x *GetConsentRequest) ProtoReflect() protoreflect.Message

func (*GetConsentRequest) Reset

func (x *GetConsentRequest) Reset()

func (*GetConsentRequest) String

func (x *GetConsentRequest) String() string

type GetConsentResponse

type GetConsentResponse struct {
	Challenge         string `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	LoginSessionID    string `protobuf:"bytes,2,opt,name=LoginSessionID,proto3" json:"LoginSessionID,omitempty"`
	SubjectIdentifier string `protobuf:"bytes,3,opt,name=SubjectIdentifier,proto3" json:"SubjectIdentifier,omitempty"`
	Subject           string `protobuf:"bytes,4,opt,name=Subject,proto3" json:"Subject,omitempty"`
	ClientID          string `protobuf:"bytes,5,opt,name=ClientID,proto3" json:"ClientID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConsentResponse) Descriptor deprecated

func (*GetConsentResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetConsentResponse.ProtoReflect.Descriptor instead.

func (*GetConsentResponse) GetChallenge

func (x *GetConsentResponse) GetChallenge() string

func (*GetConsentResponse) GetClientID

func (x *GetConsentResponse) GetClientID() string

func (*GetConsentResponse) GetLoginSessionID

func (x *GetConsentResponse) GetLoginSessionID() string

func (*GetConsentResponse) GetSubject

func (x *GetConsentResponse) GetSubject() string

func (*GetConsentResponse) GetSubjectIdentifier

func (x *GetConsentResponse) GetSubjectIdentifier() string

func (*GetConsentResponse) ProtoMessage

func (*GetConsentResponse) ProtoMessage()

func (*GetConsentResponse) ProtoReflect

func (x *GetConsentResponse) ProtoReflect() protoreflect.Message

func (*GetConsentResponse) Reset

func (x *GetConsentResponse) Reset()

func (*GetConsentResponse) String

func (x *GetConsentResponse) String() string

type GetLoginRequest

type GetLoginRequest struct {
	Challenge string `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLoginRequest) Descriptor deprecated

func (*GetLoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLoginRequest.ProtoReflect.Descriptor instead.

func (*GetLoginRequest) GetChallenge

func (x *GetLoginRequest) GetChallenge() string

func (*GetLoginRequest) ProtoMessage

func (*GetLoginRequest) ProtoMessage()

func (*GetLoginRequest) ProtoReflect

func (x *GetLoginRequest) ProtoReflect() protoreflect.Message

func (*GetLoginRequest) Reset

func (x *GetLoginRequest) Reset()

func (*GetLoginRequest) String

func (x *GetLoginRequest) String() string

type GetLoginResponse

type GetLoginResponse struct {
	Challenge         string   `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	Subject           string   `protobuf:"bytes,2,opt,name=Subject,proto3" json:"Subject,omitempty"`
	SessionID         string   `protobuf:"bytes,3,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
	RequestURL        string   `protobuf:"bytes,4,opt,name=RequestURL,proto3" json:"RequestURL,omitempty"`
	RequestedScope    []string `protobuf:"bytes,5,rep,name=RequestedScope,proto3" json:"RequestedScope,omitempty"`
	RequestedAudience []string `protobuf:"bytes,6,rep,name=RequestedAudience,proto3" json:"RequestedAudience,omitempty"`
	ClientID          string   `protobuf:"bytes,7,opt,name=ClientID,proto3" json:"ClientID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLoginResponse) Descriptor deprecated

func (*GetLoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLoginResponse.ProtoReflect.Descriptor instead.

func (*GetLoginResponse) GetChallenge

func (x *GetLoginResponse) GetChallenge() string

func (*GetLoginResponse) GetClientID

func (x *GetLoginResponse) GetClientID() string

func (*GetLoginResponse) GetRequestURL

func (x *GetLoginResponse) GetRequestURL() string

func (*GetLoginResponse) GetRequestedAudience

func (x *GetLoginResponse) GetRequestedAudience() []string

func (*GetLoginResponse) GetRequestedScope

func (x *GetLoginResponse) GetRequestedScope() []string

func (*GetLoginResponse) GetSessionID

func (x *GetLoginResponse) GetSessionID() string

func (*GetLoginResponse) GetSubject

func (x *GetLoginResponse) GetSubject() string

func (*GetLoginResponse) ProtoMessage

func (*GetLoginResponse) ProtoMessage()

func (*GetLoginResponse) ProtoReflect

func (x *GetLoginResponse) ProtoReflect() protoreflect.Message

func (*GetLoginResponse) Reset

func (x *GetLoginResponse) Reset()

func (*GetLoginResponse) String

func (x *GetLoginResponse) String() string

type ID

type ID struct {
	Challenge string `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	Verifier  string `protobuf:"bytes,2,opt,name=Verifier,proto3" json:"Verifier,omitempty"`
	CSRF      string `protobuf:"bytes,3,opt,name=CSRF,proto3" json:"CSRF,omitempty"`
	// contains filtered or unexported fields
}

func (*ID) Descriptor deprecated

func (*ID) Descriptor() ([]byte, []int)

Deprecated: Use ID.ProtoReflect.Descriptor instead.

func (*ID) GetCSRF

func (x *ID) GetCSRF() string

func (*ID) GetChallenge

func (x *ID) GetChallenge() string

func (*ID) GetVerifier

func (x *ID) GetVerifier() string

func (*ID) ProtoMessage

func (*ID) ProtoMessage()

func (*ID) ProtoReflect

func (x *ID) ProtoReflect() protoreflect.Message

func (*ID) Reset

func (x *ID) Reset()

func (*ID) String

func (x *ID) String() string

type LoginChallengeCodeClient

type LoginChallengeCodeClient interface {
	LoginChallengeCode(ctx context.Context, in *LoginChallengeCodeRequest, opts ...grpc.CallOption) (*LoginChallengeCodeResponse, error)
}

LoginChallengeCodeClient is the client API for LoginChallengeCode 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.

type LoginChallengeCodeRequest

type LoginChallengeCodeRequest struct {
	Challenge          string              `protobuf:"bytes,1,opt,name=Challenge,proto3" json:"Challenge,omitempty"`
	Claims             map[string]string   `` /* 153-byte string literal not displayed */
	DefaultCreateLogin *CreateLoginRequest `protobuf:"bytes,3,opt,name=DefaultCreateLogin,proto3" json:"DefaultCreateLogin,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginChallengeCodeRequest) Descriptor deprecated

func (*LoginChallengeCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginChallengeCodeRequest.ProtoReflect.Descriptor instead.

func (*LoginChallengeCodeRequest) GetChallenge

func (x *LoginChallengeCodeRequest) GetChallenge() string

func (*LoginChallengeCodeRequest) GetClaims

func (x *LoginChallengeCodeRequest) GetClaims() map[string]string

func (*LoginChallengeCodeRequest) GetDefaultCreateLogin

func (x *LoginChallengeCodeRequest) GetDefaultCreateLogin() *CreateLoginRequest

func (*LoginChallengeCodeRequest) ProtoMessage

func (*LoginChallengeCodeRequest) ProtoMessage()

func (*LoginChallengeCodeRequest) ProtoReflect

func (*LoginChallengeCodeRequest) Reset

func (x *LoginChallengeCodeRequest) Reset()

func (*LoginChallengeCodeRequest) String

func (x *LoginChallengeCodeRequest) String() string

type LoginChallengeCodeResponse

type LoginChallengeCodeResponse struct {
	Code          string            `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
	LoginResponse *GetLoginResponse `protobuf:"bytes,2,opt,name=LoginResponse,proto3" json:"LoginResponse,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginChallengeCodeResponse) Descriptor deprecated

func (*LoginChallengeCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginChallengeCodeResponse.ProtoReflect.Descriptor instead.

func (*LoginChallengeCodeResponse) GetCode

func (x *LoginChallengeCodeResponse) GetCode() string

func (*LoginChallengeCodeResponse) GetLoginResponse

func (x *LoginChallengeCodeResponse) GetLoginResponse() *GetLoginResponse

func (*LoginChallengeCodeResponse) ProtoMessage

func (*LoginChallengeCodeResponse) ProtoMessage()

func (*LoginChallengeCodeResponse) ProtoReflect

func (*LoginChallengeCodeResponse) Reset

func (x *LoginChallengeCodeResponse) Reset()

func (*LoginChallengeCodeResponse) String

func (x *LoginChallengeCodeResponse) String() string

type LoginChallengeCodeServer

type LoginChallengeCodeServer interface {
	LoginChallengeCode(context.Context, *LoginChallengeCodeRequest) (*LoginChallengeCodeResponse, error)
	// contains filtered or unexported methods
}

LoginChallengeCodeServer is the server API for LoginChallengeCode service. All implementations must embed UnimplementedLoginChallengeCodeServer for forward compatibility

type LoginProviderClient

type LoginProviderClient interface {
	GetLogin(ctx context.Context, in *GetLoginRequest, opts ...grpc.CallOption) (*GetLoginResponse, error)
	CreateLogin(ctx context.Context, in *CreateLoginRequest, opts ...grpc.CallOption) (*CreateLoginResponse, error)
	AcceptLogin(ctx context.Context, in *AcceptLoginRequest, opts ...grpc.CallOption) (*AcceptLoginResponse, error)
}

LoginProviderClient is the client API for LoginProvider 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.

type LoginProviderServer

type LoginProviderServer interface {
	GetLogin(context.Context, *GetLoginRequest) (*GetLoginResponse, error)
	CreateLogin(context.Context, *CreateLoginRequest) (*CreateLoginResponse, error)
	AcceptLogin(context.Context, *AcceptLoginRequest) (*AcceptLoginResponse, error)
	// contains filtered or unexported methods
}

LoginProviderServer is the server API for LoginProvider service. All implementations must embed UnimplementedLoginProviderServer for forward compatibility

type LogoutProviderClient

type LogoutProviderClient interface {
	CreateLogout(ctx context.Context, in *CreateLogoutRequest, opts ...grpc.CallOption) (*CreateLogoutResponse, error)
	AcceptLogout(ctx context.Context, in *AcceptLogoutRequest, opts ...grpc.CallOption) (*AcceptLogoutResponse, error)
}

LogoutProviderClient is the client API for LogoutProvider 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.

type LogoutProviderServer

type LogoutProviderServer interface {
	CreateLogout(context.Context, *CreateLogoutRequest) (*CreateLogoutResponse, error)
	AcceptLogout(context.Context, *AcceptLogoutRequest) (*AcceptLogoutResponse, error)
	// contains filtered or unexported methods
}

LogoutProviderServer is the server API for LogoutProvider service. All implementations must embed UnimplementedLogoutProviderServer for forward compatibility

type PasswordCredentialsCodeClient

type PasswordCredentialsCodeClient interface {
	PasswordCredentialsCode(ctx context.Context, in *PasswordCredentialsCodeRequest, opts ...grpc.CallOption) (*PasswordCredentialsCodeResponse, error)
}

PasswordCredentialsCodeClient is the client API for PasswordCredentialsCode 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.

type PasswordCredentialsCodeRequest

type PasswordCredentialsCodeRequest struct {
	Username  string `protobuf:"bytes,1,opt,name=Username,json=username,proto3" json:"Username,omitempty"`
	Password  string `protobuf:"bytes,2,opt,name=Password,json=password,proto3" json:"Password,omitempty"`
	Challenge string `protobuf:"bytes,3,opt,name=Challenge,json=challenge,proto3" json:"Challenge,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordCredentialsCodeRequest) Descriptor deprecated

func (*PasswordCredentialsCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use PasswordCredentialsCodeRequest.ProtoReflect.Descriptor instead.

func (*PasswordCredentialsCodeRequest) GetChallenge

func (x *PasswordCredentialsCodeRequest) GetChallenge() string

func (*PasswordCredentialsCodeRequest) GetPassword

func (x *PasswordCredentialsCodeRequest) GetPassword() string

func (*PasswordCredentialsCodeRequest) GetUsername

func (x *PasswordCredentialsCodeRequest) GetUsername() string

func (*PasswordCredentialsCodeRequest) ProtoMessage

func (*PasswordCredentialsCodeRequest) ProtoMessage()

func (*PasswordCredentialsCodeRequest) ProtoReflect

func (*PasswordCredentialsCodeRequest) Reset

func (x *PasswordCredentialsCodeRequest) Reset()

func (*PasswordCredentialsCodeRequest) String

type PasswordCredentialsCodeResponse

type PasswordCredentialsCodeResponse struct {
	Code string `protobuf:"bytes,1,opt,name=Code,json=code,proto3" json:"Code,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordCredentialsCodeResponse) Descriptor deprecated

func (*PasswordCredentialsCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use PasswordCredentialsCodeResponse.ProtoReflect.Descriptor instead.

func (*PasswordCredentialsCodeResponse) GetCode

func (*PasswordCredentialsCodeResponse) ProtoMessage

func (*PasswordCredentialsCodeResponse) ProtoMessage()

func (*PasswordCredentialsCodeResponse) ProtoReflect

func (*PasswordCredentialsCodeResponse) Reset

func (*PasswordCredentialsCodeResponse) String

type PasswordCredentialsCodeServer

type PasswordCredentialsCodeServer interface {
	PasswordCredentialsCode(context.Context, *PasswordCredentialsCodeRequest) (*PasswordCredentialsCodeResponse, error)
	// contains filtered or unexported methods
}

PasswordCredentialsCodeServer is the server API for PasswordCredentialsCode service. All implementations must embed UnimplementedPasswordCredentialsCodeServer for forward compatibility

type PasswordCredentialsTokenClient

type PasswordCredentialsTokenClient interface {
	PasswordCredentialsToken(ctx context.Context, in *PasswordCredentialsTokenRequest, opts ...grpc.CallOption) (*PasswordCredentialsTokenResponse, error)
}

PasswordCredentialsTokenClient is the client API for PasswordCredentialsToken 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.

type PasswordCredentialsTokenRequest

type PasswordCredentialsTokenRequest struct {
	Username string `protobuf:"bytes,1,opt,name=Username,json=username,proto3" json:"Username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=Password,json=password,proto3" json:"Password,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordCredentialsTokenRequest) Descriptor deprecated

func (*PasswordCredentialsTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use PasswordCredentialsTokenRequest.ProtoReflect.Descriptor instead.

func (*PasswordCredentialsTokenRequest) GetPassword

func (x *PasswordCredentialsTokenRequest) GetPassword() string

func (*PasswordCredentialsTokenRequest) GetUsername

func (x *PasswordCredentialsTokenRequest) GetUsername() string

func (*PasswordCredentialsTokenRequest) ProtoMessage

func (*PasswordCredentialsTokenRequest) ProtoMessage()

func (*PasswordCredentialsTokenRequest) ProtoReflect

func (*PasswordCredentialsTokenRequest) Reset

func (*PasswordCredentialsTokenRequest) String

type PasswordCredentialsTokenResponse

type PasswordCredentialsTokenResponse struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=AccessToken,json=access_token,proto3" json:"AccessToken,omitempty"`
	IDToken      string `protobuf:"bytes,2,opt,name=IDToken,json=id_token,proto3" json:"IDToken,omitempty"`
	RefreshToken string `protobuf:"bytes,3,opt,name=RefreshToken,json=refresh_token,proto3" json:"RefreshToken,omitempty"`
	Expiry       int64  `protobuf:"varint,4,opt,name=Expiry,json=expiry,proto3" json:"Expiry,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordCredentialsTokenResponse) Descriptor deprecated

func (*PasswordCredentialsTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use PasswordCredentialsTokenResponse.ProtoReflect.Descriptor instead.

func (*PasswordCredentialsTokenResponse) GetAccessToken

func (x *PasswordCredentialsTokenResponse) GetAccessToken() string

func (*PasswordCredentialsTokenResponse) GetExpiry

func (x *PasswordCredentialsTokenResponse) GetExpiry() int64

func (*PasswordCredentialsTokenResponse) GetIDToken

func (x *PasswordCredentialsTokenResponse) GetIDToken() string

func (*PasswordCredentialsTokenResponse) GetRefreshToken

func (x *PasswordCredentialsTokenResponse) GetRefreshToken() string

func (*PasswordCredentialsTokenResponse) ProtoMessage

func (*PasswordCredentialsTokenResponse) ProtoMessage()

func (*PasswordCredentialsTokenResponse) ProtoReflect

func (*PasswordCredentialsTokenResponse) Reset

func (*PasswordCredentialsTokenResponse) String

type PasswordCredentialsTokenServer

type PasswordCredentialsTokenServer interface {
	PasswordCredentialsToken(context.Context, *PasswordCredentialsTokenRequest) (*PasswordCredentialsTokenResponse, error)
	// contains filtered or unexported methods
}

PasswordCredentialsTokenServer is the server API for PasswordCredentialsToken service. All implementations must embed UnimplementedPasswordCredentialsTokenServer for forward compatibility

type PatGenerateRequest

type PatGenerateRequest struct {
	Type              PatType  `protobuf:"varint,1,opt,name=Type,proto3,enum=auth.PatType" json:"Type,omitempty"`
	UserUuid          string   `protobuf:"bytes,2,opt,name=UserUuid,proto3" json:"UserUuid,omitempty"`
	UserLogin         string   `protobuf:"bytes,3,opt,name=UserLogin,proto3" json:"UserLogin,omitempty"`
	Label             string   `protobuf:"bytes,4,opt,name=Label,proto3" json:"Label,omitempty"`
	AutoRefreshWindow int32    `protobuf:"varint,5,opt,name=AutoRefreshWindow,proto3" json:"AutoRefreshWindow,omitempty"`
	ExpiresAt         int64    `protobuf:"varint,6,opt,name=ExpiresAt,proto3" json:"ExpiresAt,omitempty"`
	Issuer            string   `protobuf:"bytes,7,opt,name=Issuer,proto3" json:"Issuer,omitempty"`
	Scopes            []string `protobuf:"bytes,8,rep,name=Scopes,proto3" json:"Scopes,omitempty"`
	// contains filtered or unexported fields
}

func (*PatGenerateRequest) Descriptor deprecated

func (*PatGenerateRequest) Descriptor() ([]byte, []int)

Deprecated: Use PatGenerateRequest.ProtoReflect.Descriptor instead.

func (*PatGenerateRequest) GetAutoRefreshWindow

func (x *PatGenerateRequest) GetAutoRefreshWindow() int32

func (*PatGenerateRequest) GetExpiresAt

func (x *PatGenerateRequest) GetExpiresAt() int64

func (*PatGenerateRequest) GetIssuer

func (x *PatGenerateRequest) GetIssuer() string

func (*PatGenerateRequest) GetLabel

func (x *PatGenerateRequest) GetLabel() string

func (*PatGenerateRequest) GetScopes

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

func (*PatGenerateRequest) GetType

func (x *PatGenerateRequest) GetType() PatType

func (*PatGenerateRequest) GetUserLogin

func (x *PatGenerateRequest) GetUserLogin() string

func (*PatGenerateRequest) GetUserUuid

func (x *PatGenerateRequest) GetUserUuid() string

func (*PatGenerateRequest) ProtoMessage

func (*PatGenerateRequest) ProtoMessage()

func (*PatGenerateRequest) ProtoReflect

func (x *PatGenerateRequest) ProtoReflect() protoreflect.Message

func (*PatGenerateRequest) Reset

func (x *PatGenerateRequest) Reset()

func (*PatGenerateRequest) String

func (x *PatGenerateRequest) String() string

type PatGenerateResponse

type PatGenerateResponse struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	TokenUuid   string `protobuf:"bytes,2,opt,name=TokenUuid,proto3" json:"TokenUuid,omitempty"`
	// contains filtered or unexported fields
}

func (*PatGenerateResponse) Descriptor deprecated

func (*PatGenerateResponse) Descriptor() ([]byte, []int)

Deprecated: Use PatGenerateResponse.ProtoReflect.Descriptor instead.

func (*PatGenerateResponse) GetAccessToken

func (x *PatGenerateResponse) GetAccessToken() string

func (*PatGenerateResponse) GetTokenUuid

func (x *PatGenerateResponse) GetTokenUuid() string

func (*PatGenerateResponse) ProtoMessage

func (*PatGenerateResponse) ProtoMessage()

func (*PatGenerateResponse) ProtoReflect

func (x *PatGenerateResponse) ProtoReflect() protoreflect.Message

func (*PatGenerateResponse) Reset

func (x *PatGenerateResponse) Reset()

func (*PatGenerateResponse) String

func (x *PatGenerateResponse) String() string

type PatListRequest

type PatListRequest struct {
	Type        PatType `protobuf:"varint,1,opt,name=Type,proto3,enum=auth.PatType" json:"Type,omitempty"`
	ByUserLogin string  `protobuf:"bytes,2,opt,name=ByUserLogin,proto3" json:"ByUserLogin,omitempty"`
	// contains filtered or unexported fields
}

func (*PatListRequest) Descriptor deprecated

func (*PatListRequest) Descriptor() ([]byte, []int)

Deprecated: Use PatListRequest.ProtoReflect.Descriptor instead.

func (*PatListRequest) GetByUserLogin

func (x *PatListRequest) GetByUserLogin() string

func (*PatListRequest) GetType

func (x *PatListRequest) GetType() PatType

func (*PatListRequest) ProtoMessage

func (*PatListRequest) ProtoMessage()

func (*PatListRequest) ProtoReflect

func (x *PatListRequest) ProtoReflect() protoreflect.Message

func (*PatListRequest) Reset

func (x *PatListRequest) Reset()

func (*PatListRequest) String

func (x *PatListRequest) String() string

type PatListResponse

type PatListResponse struct {
	Tokens []*PersonalAccessToken `protobuf:"bytes,1,rep,name=Tokens,proto3" json:"Tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*PatListResponse) Descriptor deprecated

func (*PatListResponse) Descriptor() ([]byte, []int)

Deprecated: Use PatListResponse.ProtoReflect.Descriptor instead.

func (*PatListResponse) GetTokens

func (x *PatListResponse) GetTokens() []*PersonalAccessToken

func (*PatListResponse) ProtoMessage

func (*PatListResponse) ProtoMessage()

func (*PatListResponse) ProtoReflect

func (x *PatListResponse) ProtoReflect() protoreflect.Message

func (*PatListResponse) Reset

func (x *PatListResponse) Reset()

func (*PatListResponse) String

func (x *PatListResponse) String() string

type PatRevokeRequest

type PatRevokeRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=Uuid,proto3" json:"Uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*PatRevokeRequest) Descriptor deprecated

func (*PatRevokeRequest) Descriptor() ([]byte, []int)

Deprecated: Use PatRevokeRequest.ProtoReflect.Descriptor instead.

func (*PatRevokeRequest) GetUuid

func (x *PatRevokeRequest) GetUuid() string

func (*PatRevokeRequest) ProtoMessage

func (*PatRevokeRequest) ProtoMessage()

func (*PatRevokeRequest) ProtoReflect

func (x *PatRevokeRequest) ProtoReflect() protoreflect.Message

func (*PatRevokeRequest) Reset

func (x *PatRevokeRequest) Reset()

func (*PatRevokeRequest) String

func (x *PatRevokeRequest) String() string

type PatRevokeResponse

type PatRevokeResponse struct {
	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
	// contains filtered or unexported fields
}

func (*PatRevokeResponse) Descriptor deprecated

func (*PatRevokeResponse) Descriptor() ([]byte, []int)

Deprecated: Use PatRevokeResponse.ProtoReflect.Descriptor instead.

func (*PatRevokeResponse) GetSuccess

func (x *PatRevokeResponse) GetSuccess() bool

func (*PatRevokeResponse) ProtoMessage

func (*PatRevokeResponse) ProtoMessage()

func (*PatRevokeResponse) ProtoReflect

func (x *PatRevokeResponse) ProtoReflect() protoreflect.Message

func (*PatRevokeResponse) Reset

func (x *PatRevokeResponse) Reset()

func (*PatRevokeResponse) String

func (x *PatRevokeResponse) String() string

type PatType

type PatType int32
const (
	PatType_ANY      PatType = 0
	PatType_PERSONAL PatType = 1
	PatType_DOCUMENT PatType = 2
)

func (PatType) Descriptor

func (PatType) Descriptor() protoreflect.EnumDescriptor

func (PatType) Enum

func (x PatType) Enum() *PatType

func (PatType) EnumDescriptor deprecated

func (PatType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PatType.Descriptor instead.

func (PatType) Number

func (x PatType) Number() protoreflect.EnumNumber

func (PatType) String

func (x PatType) String() string

func (PatType) Type

func (PatType) Type() protoreflect.EnumType

type PersonalAccessToken

type PersonalAccessToken struct {
	Uuid              string   `protobuf:"bytes,1,opt,name=Uuid,proto3" json:"Uuid,omitempty"`
	Type              PatType  `protobuf:"varint,2,opt,name=Type,proto3,enum=auth.PatType" json:"Type,omitempty"`
	Label             string   `protobuf:"bytes,3,opt,name=Label,proto3" json:"Label,omitempty"`
	UserUuid          string   `protobuf:"bytes,4,opt,name=UserUuid,proto3" json:"UserUuid,omitempty"`
	UserLogin         string   `protobuf:"bytes,5,opt,name=UserLogin,proto3" json:"UserLogin,omitempty"`
	Scopes            []string `protobuf:"bytes,6,rep,name=Scopes,proto3" json:"Scopes,omitempty"`
	AutoRefreshWindow int32    `protobuf:"varint,7,opt,name=AutoRefreshWindow,proto3" json:"AutoRefreshWindow,omitempty"`
	ExpiresAt         int64    `protobuf:"varint,8,opt,name=ExpiresAt,proto3" json:"ExpiresAt,omitempty"`
	CreatedBy         string   `protobuf:"bytes,9,opt,name=CreatedBy,proto3" json:"CreatedBy,omitempty"`
	CreatedAt         int64    `protobuf:"varint,10,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
	UpdatedAt         int64    `protobuf:"varint,11,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*PersonalAccessToken) Descriptor deprecated

func (*PersonalAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use PersonalAccessToken.ProtoReflect.Descriptor instead.

func (*PersonalAccessToken) GetAutoRefreshWindow

func (x *PersonalAccessToken) GetAutoRefreshWindow() int32

func (*PersonalAccessToken) GetCreatedAt

func (x *PersonalAccessToken) GetCreatedAt() int64

func (*PersonalAccessToken) GetCreatedBy

func (x *PersonalAccessToken) GetCreatedBy() string

func (*PersonalAccessToken) GetExpiresAt

func (x *PersonalAccessToken) GetExpiresAt() int64

func (*PersonalAccessToken) GetLabel

func (x *PersonalAccessToken) GetLabel() string

func (*PersonalAccessToken) GetScopes

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

func (*PersonalAccessToken) GetType

func (x *PersonalAccessToken) GetType() PatType

func (*PersonalAccessToken) GetUpdatedAt

func (x *PersonalAccessToken) GetUpdatedAt() int64

func (*PersonalAccessToken) GetUserLogin

func (x *PersonalAccessToken) GetUserLogin() string

func (*PersonalAccessToken) GetUserUuid

func (x *PersonalAccessToken) GetUserUuid() string

func (*PersonalAccessToken) GetUuid

func (x *PersonalAccessToken) GetUuid() string

func (*PersonalAccessToken) ProtoMessage

func (*PersonalAccessToken) ProtoMessage()

func (*PersonalAccessToken) ProtoReflect

func (x *PersonalAccessToken) ProtoReflect() protoreflect.Message

func (*PersonalAccessToken) Reset

func (x *PersonalAccessToken) Reset()

func (*PersonalAccessToken) String

func (x *PersonalAccessToken) String() string

type PersonalAccessTokenServiceClient

type PersonalAccessTokenServiceClient interface {
	Generate(ctx context.Context, in *PatGenerateRequest, opts ...grpc.CallOption) (*PatGenerateResponse, error)
	Revoke(ctx context.Context, in *PatRevokeRequest, opts ...grpc.CallOption) (*PatRevokeResponse, error)
	List(ctx context.Context, in *PatListRequest, opts ...grpc.CallOption) (*PatListResponse, error)
}

PersonalAccessTokenServiceClient is the client API for PersonalAccessTokenService 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.

type PersonalAccessTokenServiceServer

type PersonalAccessTokenServiceServer interface {
	Generate(context.Context, *PatGenerateRequest) (*PatGenerateResponse, error)
	Revoke(context.Context, *PatRevokeRequest) (*PatRevokeResponse, error)
	List(context.Context, *PatListRequest) (*PatListResponse, error)
	// contains filtered or unexported methods
}

PersonalAccessTokenServiceServer is the server API for PersonalAccessTokenService service. All implementations must embed UnimplementedPersonalAccessTokenServiceServer for forward compatibility

type PruneTokensRequest

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

func (*PruneTokensRequest) Descriptor deprecated

func (*PruneTokensRequest) Descriptor() ([]byte, []int)

Deprecated: Use PruneTokensRequest.ProtoReflect.Descriptor instead.

func (*PruneTokensRequest) ProtoMessage

func (*PruneTokensRequest) ProtoMessage()

func (*PruneTokensRequest) ProtoReflect

func (x *PruneTokensRequest) ProtoReflect() protoreflect.Message

func (*PruneTokensRequest) Reset

func (x *PruneTokensRequest) Reset()

func (*PruneTokensRequest) String

func (x *PruneTokensRequest) String() string

type PruneTokensResponse

type PruneTokensResponse struct {
	Tokens []string `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	Count  int32    `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
	// contains filtered or unexported fields
}

func (*PruneTokensResponse) Descriptor deprecated

func (*PruneTokensResponse) Descriptor() ([]byte, []int)

Deprecated: Use PruneTokensResponse.ProtoReflect.Descriptor instead.

func (*PruneTokensResponse) GetCount

func (x *PruneTokensResponse) GetCount() int32

func (*PruneTokensResponse) GetTokens

func (x *PruneTokensResponse) GetTokens() []string

func (*PruneTokensResponse) ProtoMessage

func (*PruneTokensResponse) ProtoMessage()

func (*PruneTokensResponse) ProtoReflect

func (x *PruneTokensResponse) ProtoReflect() protoreflect.Message

func (*PruneTokensResponse) Reset

func (x *PruneTokensResponse) Reset()

func (*PruneTokensResponse) String

func (x *PruneTokensResponse) String() string

type RefreshTokenRequest

type RefreshTokenRequest struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=RefreshToken,proto3" json:"RefreshToken,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenRequest) Descriptor deprecated

func (*RefreshTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) GetRefreshToken

func (x *RefreshTokenRequest) GetRefreshToken() string

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) ProtoReflect

func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message

func (*RefreshTokenRequest) Reset

func (x *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (x *RefreshTokenRequest) String() string

type RefreshTokenResponse

type RefreshTokenResponse struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=AccessToken,json=access_token,proto3" json:"AccessToken,omitempty"`
	IDToken      string `protobuf:"bytes,2,opt,name=IDToken,json=id_token,proto3" json:"IDToken,omitempty"`
	RefreshToken string `protobuf:"bytes,3,opt,name=RefreshToken,json=refresh_token,proto3" json:"RefreshToken,omitempty"`
	Expiry       int64  `protobuf:"varint,4,opt,name=Expiry,json=expiry,proto3" json:"Expiry,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenResponse) Descriptor deprecated

func (*RefreshTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RefreshTokenResponse) GetAccessToken

func (x *RefreshTokenResponse) GetAccessToken() string

func (*RefreshTokenResponse) GetExpiry

func (x *RefreshTokenResponse) GetExpiry() int64

func (*RefreshTokenResponse) GetIDToken

func (x *RefreshTokenResponse) GetIDToken() string

func (*RefreshTokenResponse) GetRefreshToken

func (x *RefreshTokenResponse) GetRefreshToken() string

func (*RefreshTokenResponse) ProtoMessage

func (*RefreshTokenResponse) ProtoMessage()

func (*RefreshTokenResponse) ProtoReflect

func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message

func (*RefreshTokenResponse) Reset

func (x *RefreshTokenResponse) Reset()

func (*RefreshTokenResponse) String

func (x *RefreshTokenResponse) String() string

type RevokeTokenRequest

type RevokeTokenRequest struct {
	Token *Token `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeTokenRequest) Descriptor deprecated

func (*RevokeTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeTokenRequest.ProtoReflect.Descriptor instead.

func (*RevokeTokenRequest) GetToken

func (x *RevokeTokenRequest) GetToken() *Token

func (*RevokeTokenRequest) ProtoMessage

func (*RevokeTokenRequest) ProtoMessage()

func (*RevokeTokenRequest) ProtoReflect

func (x *RevokeTokenRequest) ProtoReflect() protoreflect.Message

func (*RevokeTokenRequest) Reset

func (x *RevokeTokenRequest) Reset()

func (*RevokeTokenRequest) String

func (x *RevokeTokenRequest) String() string

type RevokeTokenResponse

type RevokeTokenResponse struct {
	Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeTokenResponse) Descriptor deprecated

func (*RevokeTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeTokenResponse.ProtoReflect.Descriptor instead.

func (*RevokeTokenResponse) GetSuccess

func (x *RevokeTokenResponse) GetSuccess() bool

func (*RevokeTokenResponse) ProtoMessage

func (*RevokeTokenResponse) ProtoMessage()

func (*RevokeTokenResponse) ProtoReflect

func (x *RevokeTokenResponse) ProtoReflect() protoreflect.Message

func (*RevokeTokenResponse) Reset

func (x *RevokeTokenResponse) Reset()

func (*RevokeTokenResponse) String

func (x *RevokeTokenResponse) String() string

type Token

type Token struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	IDToken      string `protobuf:"bytes,2,opt,name=IDToken,proto3" json:"IDToken,omitempty"`
	RefreshToken string `protobuf:"bytes,3,opt,name=RefreshToken,proto3" json:"RefreshToken,omitempty"`
	ExpiresAt    string `protobuf:"bytes,4,opt,name=ExpiresAt,proto3" json:"ExpiresAt,omitempty"`
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated

func (*Token) Descriptor() ([]byte, []int)

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetAccessToken

func (x *Token) GetAccessToken() string

func (*Token) GetExpiresAt

func (x *Token) GetExpiresAt() string

func (*Token) GetIDToken

func (x *Token) GetIDToken() string

func (*Token) GetRefreshToken

func (x *Token) GetRefreshToken() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

func (x *Token) ProtoReflect() protoreflect.Message

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

type UnimplementedAuthCodeExchangerServer

type UnimplementedAuthCodeExchangerServer struct {
}

UnimplementedAuthCodeExchangerServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthCodeExchangerServer) Exchange

type UnimplementedAuthCodeProviderServer

type UnimplementedAuthCodeProviderServer struct {
}

UnimplementedAuthCodeProviderServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthCodeProviderServer) CreateAuthCode

type UnimplementedAuthTokenPrunerServer

type UnimplementedAuthTokenPrunerServer struct {
}

UnimplementedAuthTokenPrunerServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthTokenPrunerServer) PruneTokens

type UnimplementedAuthTokenRefresherServer

type UnimplementedAuthTokenRefresherServer struct {
}

UnimplementedAuthTokenRefresherServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthTokenRefresherServer) Refresh

type UnimplementedAuthTokenRevokerServer

type UnimplementedAuthTokenRevokerServer struct {
}

UnimplementedAuthTokenRevokerServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthTokenRevokerServer) Revoke

type UnimplementedAuthTokenVerifierServer

type UnimplementedAuthTokenVerifierServer struct {
}

UnimplementedAuthTokenVerifierServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthTokenVerifierServer) Verify

type UnimplementedConsentProviderServer

type UnimplementedConsentProviderServer struct {
}

UnimplementedConsentProviderServer must be embedded to have forward compatible implementations.

func (UnimplementedConsentProviderServer) AcceptConsent

func (UnimplementedConsentProviderServer) CreateConsent

func (UnimplementedConsentProviderServer) GetConsent

type UnimplementedLoginChallengeCodeServer

type UnimplementedLoginChallengeCodeServer struct {
}

UnimplementedLoginChallengeCodeServer must be embedded to have forward compatible implementations.

func (UnimplementedLoginChallengeCodeServer) LoginChallengeCode

type UnimplementedLoginProviderServer

type UnimplementedLoginProviderServer struct {
}

UnimplementedLoginProviderServer must be embedded to have forward compatible implementations.

func (UnimplementedLoginProviderServer) AcceptLogin

func (UnimplementedLoginProviderServer) CreateLogin

func (UnimplementedLoginProviderServer) GetLogin

type UnimplementedLogoutProviderServer

type UnimplementedLogoutProviderServer struct {
}

UnimplementedLogoutProviderServer must be embedded to have forward compatible implementations.

func (UnimplementedLogoutProviderServer) AcceptLogout

func (UnimplementedLogoutProviderServer) CreateLogout

type UnimplementedPasswordCredentialsCodeServer

type UnimplementedPasswordCredentialsCodeServer struct {
}

UnimplementedPasswordCredentialsCodeServer must be embedded to have forward compatible implementations.

type UnimplementedPasswordCredentialsTokenServer

type UnimplementedPasswordCredentialsTokenServer struct {
}

UnimplementedPasswordCredentialsTokenServer must be embedded to have forward compatible implementations.

type UnimplementedPersonalAccessTokenServiceServer

type UnimplementedPersonalAccessTokenServiceServer struct {
}

UnimplementedPersonalAccessTokenServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPersonalAccessTokenServiceServer) Generate

func (UnimplementedPersonalAccessTokenServiceServer) List

func (UnimplementedPersonalAccessTokenServiceServer) Revoke

type UnsafeAuthCodeExchangerServer

type UnsafeAuthCodeExchangerServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthCodeExchangerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthCodeExchangerServer will result in compilation errors.

type UnsafeAuthCodeProviderServer

type UnsafeAuthCodeProviderServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthCodeProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthCodeProviderServer will result in compilation errors.

type UnsafeAuthTokenPrunerServer

type UnsafeAuthTokenPrunerServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthTokenPrunerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthTokenPrunerServer will result in compilation errors.

type UnsafeAuthTokenRefresherServer

type UnsafeAuthTokenRefresherServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthTokenRefresherServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthTokenRefresherServer will result in compilation errors.

type UnsafeAuthTokenRevokerServer

type UnsafeAuthTokenRevokerServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthTokenRevokerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthTokenRevokerServer will result in compilation errors.

type UnsafeAuthTokenVerifierServer

type UnsafeAuthTokenVerifierServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthTokenVerifierServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthTokenVerifierServer will result in compilation errors.

type UnsafeConsentProviderServer

type UnsafeConsentProviderServer interface {
	// contains filtered or unexported methods
}

UnsafeConsentProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConsentProviderServer will result in compilation errors.

type UnsafeLoginChallengeCodeServer

type UnsafeLoginChallengeCodeServer interface {
	// contains filtered or unexported methods
}

UnsafeLoginChallengeCodeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LoginChallengeCodeServer will result in compilation errors.

type UnsafeLoginProviderServer

type UnsafeLoginProviderServer interface {
	// contains filtered or unexported methods
}

UnsafeLoginProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LoginProviderServer will result in compilation errors.

type UnsafeLogoutProviderServer

type UnsafeLogoutProviderServer interface {
	// contains filtered or unexported methods
}

UnsafeLogoutProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LogoutProviderServer will result in compilation errors.

type UnsafePasswordCredentialsCodeServer

type UnsafePasswordCredentialsCodeServer interface {
	// contains filtered or unexported methods
}

UnsafePasswordCredentialsCodeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PasswordCredentialsCodeServer will result in compilation errors.

type UnsafePasswordCredentialsTokenServer

type UnsafePasswordCredentialsTokenServer interface {
	// contains filtered or unexported methods
}

UnsafePasswordCredentialsTokenServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PasswordCredentialsTokenServer will result in compilation errors.

type UnsafePersonalAccessTokenServiceServer

type UnsafePersonalAccessTokenServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePersonalAccessTokenServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PersonalAccessTokenServiceServer will result in compilation errors.

type VerifyTokenRequest

type VerifyTokenRequest struct {
	Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyTokenRequest) Descriptor deprecated

func (*VerifyTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyTokenRequest.ProtoReflect.Descriptor instead.

func (*VerifyTokenRequest) GetToken

func (x *VerifyTokenRequest) GetToken() string

func (*VerifyTokenRequest) ProtoMessage

func (*VerifyTokenRequest) ProtoMessage()

func (*VerifyTokenRequest) ProtoReflect

func (x *VerifyTokenRequest) ProtoReflect() protoreflect.Message

func (*VerifyTokenRequest) Reset

func (x *VerifyTokenRequest) Reset()

func (*VerifyTokenRequest) String

func (x *VerifyTokenRequest) String() string

type VerifyTokenResponse

type VerifyTokenResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
	Data    []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyTokenResponse) Descriptor deprecated

func (*VerifyTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyTokenResponse.ProtoReflect.Descriptor instead.

func (*VerifyTokenResponse) GetData

func (x *VerifyTokenResponse) GetData() []byte

func (*VerifyTokenResponse) GetSuccess

func (x *VerifyTokenResponse) GetSuccess() bool

func (*VerifyTokenResponse) ProtoMessage

func (*VerifyTokenResponse) ProtoMessage()

func (*VerifyTokenResponse) ProtoReflect

func (x *VerifyTokenResponse) ProtoReflect() protoreflect.Message

func (*VerifyTokenResponse) Reset

func (x *VerifyTokenResponse) Reset()

func (*VerifyTokenResponse) String

func (x *VerifyTokenResponse) String() string

Jump to

Keyboard shortcuts

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