session

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SessionService_ListSessions_FullMethodName  = "/zitadel.session.v2beta.SessionService/ListSessions"
	SessionService_GetSession_FullMethodName    = "/zitadel.session.v2beta.SessionService/GetSession"
	SessionService_CreateSession_FullMethodName = "/zitadel.session.v2beta.SessionService/CreateSession"
	SessionService_SetSession_FullMethodName    = "/zitadel.session.v2beta.SessionService/SetSession"
	SessionService_DeleteSession_FullMethodName = "/zitadel.session.v2beta.SessionService/DeleteSession"
)

Variables

View Source
var (
	UserVerificationRequirement_name = map[int32]string{
		0: "USER_VERIFICATION_REQUIREMENT_UNSPECIFIED",
		1: "USER_VERIFICATION_REQUIREMENT_REQUIRED",
		2: "USER_VERIFICATION_REQUIREMENT_PREFERRED",
		3: "USER_VERIFICATION_REQUIREMENT_DISCOURAGED",
	}
	UserVerificationRequirement_value = map[string]int32{
		"USER_VERIFICATION_REQUIREMENT_UNSPECIFIED": 0,
		"USER_VERIFICATION_REQUIREMENT_REQUIRED":    1,
		"USER_VERIFICATION_REQUIREMENT_PREFERRED":   2,
		"USER_VERIFICATION_REQUIREMENT_DISCOURAGED": 3,
	}
)

Enum value maps for UserVerificationRequirement.

View Source
var (
	SessionFieldName_name = map[int32]string{
		0: "SESSION_FIELD_NAME_UNSPECIFIED",
		1: "SESSION_FIELD_NAME_CREATION_DATE",
	}
	SessionFieldName_value = map[string]int32{
		"SESSION_FIELD_NAME_UNSPECIFIED":   0,
		"SESSION_FIELD_NAME_CREATION_DATE": 1,
	}
)

Enum value maps for SessionFieldName.

View Source
var File_zitadel_session_v2beta_challenge_proto protoreflect.FileDescriptor
View Source
var File_zitadel_session_v2beta_session_proto protoreflect.FileDescriptor
View Source
var File_zitadel_session_v2beta_session_service_proto protoreflect.FileDescriptor
View Source
var SessionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "zitadel.session.v2beta.SessionService",
	HandlerType: (*SessionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListSessions",
			Handler:    _SessionService_ListSessions_Handler,
		},
		{
			MethodName: "GetSession",
			Handler:    _SessionService_GetSession_Handler,
		},
		{
			MethodName: "CreateSession",
			Handler:    _SessionService_CreateSession_Handler,
		},
		{
			MethodName: "SetSession",
			Handler:    _SessionService_SetSession_Handler,
		},
		{
			MethodName: "DeleteSession",
			Handler:    _SessionService_DeleteSession_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "zitadel/session/v2beta/session_service.proto",
}

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

Functions

func RegisterSessionServiceServer

func RegisterSessionServiceServer(s grpc.ServiceRegistrar, srv SessionServiceServer)

Types

type Challenges

type Challenges struct {
	WebAuthN *Challenges_WebAuthN `protobuf:"bytes,1,opt,name=web_auth_n,json=webAuthN,proto3,oneof" json:"web_auth_n,omitempty"`
	OtpSms   *string              `protobuf:"bytes,2,opt,name=otp_sms,json=otpSms,proto3,oneof" json:"otp_sms,omitempty"`
	OtpEmail *string              `protobuf:"bytes,3,opt,name=otp_email,json=otpEmail,proto3,oneof" json:"otp_email,omitempty"`
	// contains filtered or unexported fields
}

func (*Challenges) Descriptor deprecated

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

Deprecated: Use Challenges.ProtoReflect.Descriptor instead.

func (*Challenges) GetOtpEmail

func (x *Challenges) GetOtpEmail() string

func (*Challenges) GetOtpSms

func (x *Challenges) GetOtpSms() string

func (*Challenges) GetWebAuthN

func (x *Challenges) GetWebAuthN() *Challenges_WebAuthN

func (*Challenges) ProtoMessage

func (*Challenges) ProtoMessage()

func (*Challenges) ProtoReflect

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

func (*Challenges) Reset

func (x *Challenges) Reset()

func (*Challenges) String

func (x *Challenges) String() string

type Challenges_WebAuthN

type Challenges_WebAuthN struct {
	PublicKeyCredentialRequestOptions *structpb.Struct `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Challenges_WebAuthN) Descriptor deprecated

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

Deprecated: Use Challenges_WebAuthN.ProtoReflect.Descriptor instead.

func (*Challenges_WebAuthN) GetPublicKeyCredentialRequestOptions

func (x *Challenges_WebAuthN) GetPublicKeyCredentialRequestOptions() *structpb.Struct

func (*Challenges_WebAuthN) ProtoMessage

func (*Challenges_WebAuthN) ProtoMessage()

func (*Challenges_WebAuthN) ProtoReflect

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

func (*Challenges_WebAuthN) Reset

func (x *Challenges_WebAuthN) Reset()

func (*Challenges_WebAuthN) String

func (x *Challenges_WebAuthN) String() string

type CheckIDPIntent

type CheckIDPIntent struct {
	IdpIntentId    string `protobuf:"bytes,1,opt,name=idp_intent_id,json=idpIntentId,proto3" json:"idp_intent_id,omitempty"`
	IdpIntentToken string `protobuf:"bytes,2,opt,name=idp_intent_token,json=idpIntentToken,proto3" json:"idp_intent_token,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckIDPIntent) Descriptor deprecated

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

Deprecated: Use CheckIDPIntent.ProtoReflect.Descriptor instead.

func (*CheckIDPIntent) GetIdpIntentId

func (x *CheckIDPIntent) GetIdpIntentId() string

func (*CheckIDPIntent) GetIdpIntentToken

func (x *CheckIDPIntent) GetIdpIntentToken() string

func (*CheckIDPIntent) ProtoMessage

func (*CheckIDPIntent) ProtoMessage()

func (*CheckIDPIntent) ProtoReflect

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

func (*CheckIDPIntent) Reset

func (x *CheckIDPIntent) Reset()

func (*CheckIDPIntent) String

func (x *CheckIDPIntent) String() string

type CheckOTP

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

func (*CheckOTP) Descriptor deprecated

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

Deprecated: Use CheckOTP.ProtoReflect.Descriptor instead.

func (*CheckOTP) GetCode

func (x *CheckOTP) GetCode() string

func (*CheckOTP) ProtoMessage

func (*CheckOTP) ProtoMessage()

func (*CheckOTP) ProtoReflect

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

func (*CheckOTP) Reset

func (x *CheckOTP) Reset()

func (*CheckOTP) String

func (x *CheckOTP) String() string

type CheckPassword

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

func (*CheckPassword) Descriptor deprecated

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

Deprecated: Use CheckPassword.ProtoReflect.Descriptor instead.

func (*CheckPassword) GetPassword

func (x *CheckPassword) GetPassword() string

func (*CheckPassword) ProtoMessage

func (*CheckPassword) ProtoMessage()

func (*CheckPassword) ProtoReflect

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

func (*CheckPassword) Reset

func (x *CheckPassword) Reset()

func (*CheckPassword) String

func (x *CheckPassword) String() string

type CheckTOTP

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

func (*CheckTOTP) Descriptor deprecated

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

Deprecated: Use CheckTOTP.ProtoReflect.Descriptor instead.

func (*CheckTOTP) GetCode

func (x *CheckTOTP) GetCode() string

func (*CheckTOTP) ProtoMessage

func (*CheckTOTP) ProtoMessage()

func (*CheckTOTP) ProtoReflect

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

func (*CheckTOTP) Reset

func (x *CheckTOTP) Reset()

func (*CheckTOTP) String

func (x *CheckTOTP) String() string

type CheckUser

type CheckUser struct {

	// Types that are assignable to Search:
	//
	//	*CheckUser_UserId
	//	*CheckUser_LoginName
	Search isCheckUser_Search `protobuf_oneof:"search"`
	// contains filtered or unexported fields
}

func (*CheckUser) Descriptor deprecated

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

Deprecated: Use CheckUser.ProtoReflect.Descriptor instead.

func (*CheckUser) GetLoginName

func (x *CheckUser) GetLoginName() string

func (*CheckUser) GetSearch

func (m *CheckUser) GetSearch() isCheckUser_Search

func (*CheckUser) GetUserId

func (x *CheckUser) GetUserId() string

func (*CheckUser) ProtoMessage

func (*CheckUser) ProtoMessage()

func (*CheckUser) ProtoReflect

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

func (*CheckUser) Reset

func (x *CheckUser) Reset()

func (*CheckUser) String

func (x *CheckUser) String() string

type CheckUser_LoginName

type CheckUser_LoginName struct {
	LoginName string `protobuf:"bytes,2,opt,name=login_name,json=loginName,proto3,oneof"`
}

type CheckUser_UserId

type CheckUser_UserId struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"`
}

type CheckWebAuthN

type CheckWebAuthN struct {
	CredentialAssertionData *structpb.Struct `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CheckWebAuthN) Descriptor deprecated

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

Deprecated: Use CheckWebAuthN.ProtoReflect.Descriptor instead.

func (*CheckWebAuthN) GetCredentialAssertionData

func (x *CheckWebAuthN) GetCredentialAssertionData() *structpb.Struct

func (*CheckWebAuthN) ProtoMessage

func (*CheckWebAuthN) ProtoMessage()

func (*CheckWebAuthN) ProtoReflect

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

func (*CheckWebAuthN) Reset

func (x *CheckWebAuthN) Reset()

func (*CheckWebAuthN) String

func (x *CheckWebAuthN) String() string

type Checks

type Checks struct {
	User      *CheckUser      `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"`
	Password  *CheckPassword  `protobuf:"bytes,2,opt,name=password,proto3,oneof" json:"password,omitempty"`
	WebAuthN  *CheckWebAuthN  `protobuf:"bytes,3,opt,name=web_auth_n,json=webAuthN,proto3,oneof" json:"web_auth_n,omitempty"`
	IdpIntent *CheckIDPIntent `protobuf:"bytes,4,opt,name=idp_intent,json=idpIntent,proto3,oneof" json:"idp_intent,omitempty"`
	Totp      *CheckTOTP      `protobuf:"bytes,5,opt,name=totp,proto3,oneof" json:"totp,omitempty"`
	OtpSms    *CheckOTP       `protobuf:"bytes,6,opt,name=otp_sms,json=otpSms,proto3,oneof" json:"otp_sms,omitempty"`
	OtpEmail  *CheckOTP       `protobuf:"bytes,7,opt,name=otp_email,json=otpEmail,proto3,oneof" json:"otp_email,omitempty"`
	// contains filtered or unexported fields
}

func (*Checks) Descriptor deprecated

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

Deprecated: Use Checks.ProtoReflect.Descriptor instead.

func (*Checks) GetIdpIntent

func (x *Checks) GetIdpIntent() *CheckIDPIntent

func (*Checks) GetOtpEmail

func (x *Checks) GetOtpEmail() *CheckOTP

func (*Checks) GetOtpSms

func (x *Checks) GetOtpSms() *CheckOTP

func (*Checks) GetPassword

func (x *Checks) GetPassword() *CheckPassword

func (*Checks) GetTotp

func (x *Checks) GetTotp() *CheckTOTP

func (*Checks) GetUser

func (x *Checks) GetUser() *CheckUser

func (*Checks) GetWebAuthN

func (x *Checks) GetWebAuthN() *CheckWebAuthN

func (*Checks) ProtoMessage

func (*Checks) ProtoMessage()

func (*Checks) ProtoReflect

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

func (*Checks) Reset

func (x *Checks) Reset()

func (*Checks) String

func (x *Checks) String() string

type CreateSessionRequest

type CreateSessionRequest struct {
	Checks     *Checks              `protobuf:"bytes,1,opt,name=checks,proto3" json:"checks,omitempty"`
	Metadata   map[string][]byte    `` /* 157-byte string literal not displayed */
	Challenges *RequestChallenges   `protobuf:"bytes,3,opt,name=challenges,proto3" json:"challenges,omitempty"`
	UserAgent  *UserAgent           `protobuf:"bytes,4,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	Lifetime   *durationpb.Duration `protobuf:"bytes,5,opt,name=lifetime,proto3,oneof" json:"lifetime,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionRequest) Descriptor deprecated

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

Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.

func (*CreateSessionRequest) GetChallenges

func (x *CreateSessionRequest) GetChallenges() *RequestChallenges

func (*CreateSessionRequest) GetChecks

func (x *CreateSessionRequest) GetChecks() *Checks

func (*CreateSessionRequest) GetLifetime

func (x *CreateSessionRequest) GetLifetime() *durationpb.Duration

func (*CreateSessionRequest) GetMetadata

func (x *CreateSessionRequest) GetMetadata() map[string][]byte

func (*CreateSessionRequest) GetUserAgent

func (x *CreateSessionRequest) GetUserAgent() *UserAgent

func (*CreateSessionRequest) ProtoMessage

func (*CreateSessionRequest) ProtoMessage()

func (*CreateSessionRequest) ProtoReflect

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

func (*CreateSessionRequest) Reset

func (x *CreateSessionRequest) Reset()

func (*CreateSessionRequest) String

func (x *CreateSessionRequest) String() string

type CreateSessionResponse

type CreateSessionResponse struct {
	Details      *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	SessionId    string          `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	SessionToken string          `protobuf:"bytes,3,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
	Challenges   *Challenges     `protobuf:"bytes,4,opt,name=challenges,proto3" json:"challenges,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionResponse) Descriptor deprecated

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

Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.

func (*CreateSessionResponse) GetChallenges

func (x *CreateSessionResponse) GetChallenges() *Challenges

func (*CreateSessionResponse) GetDetails

func (x *CreateSessionResponse) GetDetails() *v2beta.Details

func (*CreateSessionResponse) GetSessionId

func (x *CreateSessionResponse) GetSessionId() string

func (*CreateSessionResponse) GetSessionToken

func (x *CreateSessionResponse) GetSessionToken() string

func (*CreateSessionResponse) ProtoMessage

func (*CreateSessionResponse) ProtoMessage()

func (*CreateSessionResponse) ProtoReflect

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

func (*CreateSessionResponse) Reset

func (x *CreateSessionResponse) Reset()

func (*CreateSessionResponse) String

func (x *CreateSessionResponse) String() string

type CreationDateQuery

type CreationDateQuery struct {
	CreationDate *timestamppb.Timestamp      `protobuf:"bytes,1,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
	Method       object.TimestampQueryMethod `protobuf:"varint,2,opt,name=method,proto3,enum=zitadel.v1.TimestampQueryMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*CreationDateQuery) Descriptor deprecated

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

Deprecated: Use CreationDateQuery.ProtoReflect.Descriptor instead.

func (*CreationDateQuery) GetCreationDate

func (x *CreationDateQuery) GetCreationDate() *timestamppb.Timestamp

func (*CreationDateQuery) GetMethod

func (*CreationDateQuery) ProtoMessage

func (*CreationDateQuery) ProtoMessage()

func (*CreationDateQuery) ProtoReflect

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

func (*CreationDateQuery) Reset

func (x *CreationDateQuery) Reset()

func (*CreationDateQuery) String

func (x *CreationDateQuery) String() string

type DeleteSessionRequest

type DeleteSessionRequest struct {
	SessionId    string  `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	SessionToken *string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3,oneof" json:"session_token,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSessionRequest) Descriptor deprecated

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

Deprecated: Use DeleteSessionRequest.ProtoReflect.Descriptor instead.

func (*DeleteSessionRequest) GetSessionId

func (x *DeleteSessionRequest) GetSessionId() string

func (*DeleteSessionRequest) GetSessionToken

func (x *DeleteSessionRequest) GetSessionToken() string

func (*DeleteSessionRequest) ProtoMessage

func (*DeleteSessionRequest) ProtoMessage()

func (*DeleteSessionRequest) ProtoReflect

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

func (*DeleteSessionRequest) Reset

func (x *DeleteSessionRequest) Reset()

func (*DeleteSessionRequest) String

func (x *DeleteSessionRequest) String() string

type DeleteSessionResponse

type DeleteSessionResponse struct {
	Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSessionResponse) Descriptor deprecated

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

Deprecated: Use DeleteSessionResponse.ProtoReflect.Descriptor instead.

func (*DeleteSessionResponse) GetDetails

func (x *DeleteSessionResponse) GetDetails() *v2beta.Details

func (*DeleteSessionResponse) ProtoMessage

func (*DeleteSessionResponse) ProtoMessage()

func (*DeleteSessionResponse) ProtoReflect

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

func (*DeleteSessionResponse) Reset

func (x *DeleteSessionResponse) Reset()

func (*DeleteSessionResponse) String

func (x *DeleteSessionResponse) String() string

type Factors

type Factors struct {
	User     *UserFactor     `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Password *PasswordFactor `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	WebAuthN *WebAuthNFactor `protobuf:"bytes,3,opt,name=web_auth_n,json=webAuthN,proto3" json:"web_auth_n,omitempty"`
	Intent   *IntentFactor   `protobuf:"bytes,4,opt,name=intent,proto3" json:"intent,omitempty"`
	Totp     *TOTPFactor     `protobuf:"bytes,5,opt,name=totp,proto3" json:"totp,omitempty"`
	OtpSms   *OTPFactor      `protobuf:"bytes,6,opt,name=otp_sms,json=otpSms,proto3" json:"otp_sms,omitempty"`
	OtpEmail *OTPFactor      `protobuf:"bytes,7,opt,name=otp_email,json=otpEmail,proto3" json:"otp_email,omitempty"`
	// contains filtered or unexported fields
}

func (*Factors) Descriptor deprecated

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

Deprecated: Use Factors.ProtoReflect.Descriptor instead.

func (*Factors) GetIntent

func (x *Factors) GetIntent() *IntentFactor

func (*Factors) GetOtpEmail

func (x *Factors) GetOtpEmail() *OTPFactor

func (*Factors) GetOtpSms

func (x *Factors) GetOtpSms() *OTPFactor

func (*Factors) GetPassword

func (x *Factors) GetPassword() *PasswordFactor

func (*Factors) GetTotp

func (x *Factors) GetTotp() *TOTPFactor

func (*Factors) GetUser

func (x *Factors) GetUser() *UserFactor

func (*Factors) GetWebAuthN

func (x *Factors) GetWebAuthN() *WebAuthNFactor

func (*Factors) ProtoMessage

func (*Factors) ProtoMessage()

func (*Factors) ProtoReflect

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

func (*Factors) Reset

func (x *Factors) Reset()

func (*Factors) String

func (x *Factors) String() string

type GetSessionRequest

type GetSessionRequest struct {
	SessionId    string  `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	SessionToken *string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3,oneof" json:"session_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSessionRequest) Descriptor deprecated

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

Deprecated: Use GetSessionRequest.ProtoReflect.Descriptor instead.

func (*GetSessionRequest) GetSessionId

func (x *GetSessionRequest) GetSessionId() string

func (*GetSessionRequest) GetSessionToken

func (x *GetSessionRequest) GetSessionToken() string

func (*GetSessionRequest) ProtoMessage

func (*GetSessionRequest) ProtoMessage()

func (*GetSessionRequest) ProtoReflect

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

func (*GetSessionRequest) Reset

func (x *GetSessionRequest) Reset()

func (*GetSessionRequest) String

func (x *GetSessionRequest) String() string

type GetSessionResponse

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

func (*GetSessionResponse) Descriptor deprecated

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

Deprecated: Use GetSessionResponse.ProtoReflect.Descriptor instead.

func (*GetSessionResponse) GetSession

func (x *GetSessionResponse) GetSession() *Session

func (*GetSessionResponse) ProtoMessage

func (*GetSessionResponse) ProtoMessage()

func (*GetSessionResponse) ProtoReflect

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

func (*GetSessionResponse) Reset

func (x *GetSessionResponse) Reset()

func (*GetSessionResponse) String

func (x *GetSessionResponse) String() string

type IDsQuery

type IDsQuery struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*IDsQuery) Descriptor deprecated

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

Deprecated: Use IDsQuery.ProtoReflect.Descriptor instead.

func (*IDsQuery) GetIds

func (x *IDsQuery) GetIds() []string

func (*IDsQuery) ProtoMessage

func (*IDsQuery) ProtoMessage()

func (*IDsQuery) ProtoReflect

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

func (*IDsQuery) Reset

func (x *IDsQuery) Reset()

func (*IDsQuery) String

func (x *IDsQuery) String() string

type IntentFactor

type IntentFactor struct {
	VerifiedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"`
	// contains filtered or unexported fields
}

func (*IntentFactor) Descriptor deprecated

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

Deprecated: Use IntentFactor.ProtoReflect.Descriptor instead.

func (*IntentFactor) GetVerifiedAt

func (x *IntentFactor) GetVerifiedAt() *timestamppb.Timestamp

func (*IntentFactor) ProtoMessage

func (*IntentFactor) ProtoMessage()

func (*IntentFactor) ProtoReflect

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

func (*IntentFactor) Reset

func (x *IntentFactor) Reset()

func (*IntentFactor) String

func (x *IntentFactor) String() string

type ListSessionsRequest

type ListSessionsRequest struct {
	Query         *v2beta.ListQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Queries       []*SearchQuery    `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"`
	SortingColumn SessionFieldName  `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListSessionsRequest) Descriptor deprecated

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

Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.

func (*ListSessionsRequest) GetQueries

func (x *ListSessionsRequest) GetQueries() []*SearchQuery

func (*ListSessionsRequest) GetQuery

func (x *ListSessionsRequest) GetQuery() *v2beta.ListQuery

func (*ListSessionsRequest) GetSortingColumn

func (x *ListSessionsRequest) GetSortingColumn() SessionFieldName

func (*ListSessionsRequest) ProtoMessage

func (*ListSessionsRequest) ProtoMessage()

func (*ListSessionsRequest) ProtoReflect

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

func (*ListSessionsRequest) Reset

func (x *ListSessionsRequest) Reset()

func (*ListSessionsRequest) String

func (x *ListSessionsRequest) String() string

type ListSessionsResponse

type ListSessionsResponse struct {
	Details  *v2beta.ListDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	Sessions []*Session          `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSessionsResponse) Descriptor deprecated

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

Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.

func (*ListSessionsResponse) GetDetails

func (x *ListSessionsResponse) GetDetails() *v2beta.ListDetails

func (*ListSessionsResponse) GetSessions

func (x *ListSessionsResponse) GetSessions() []*Session

func (*ListSessionsResponse) ProtoMessage

func (*ListSessionsResponse) ProtoMessage()

func (*ListSessionsResponse) ProtoReflect

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

func (*ListSessionsResponse) Reset

func (x *ListSessionsResponse) Reset()

func (*ListSessionsResponse) String

func (x *ListSessionsResponse) String() string

type OTPFactor

type OTPFactor struct {
	VerifiedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"`
	// contains filtered or unexported fields
}

func (*OTPFactor) Descriptor deprecated

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

Deprecated: Use OTPFactor.ProtoReflect.Descriptor instead.

func (*OTPFactor) GetVerifiedAt

func (x *OTPFactor) GetVerifiedAt() *timestamppb.Timestamp

func (*OTPFactor) ProtoMessage

func (*OTPFactor) ProtoMessage()

func (*OTPFactor) ProtoReflect

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

func (*OTPFactor) Reset

func (x *OTPFactor) Reset()

func (*OTPFactor) String

func (x *OTPFactor) String() string

type PasswordFactor

type PasswordFactor struct {
	VerifiedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordFactor) Descriptor deprecated

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

Deprecated: Use PasswordFactor.ProtoReflect.Descriptor instead.

func (*PasswordFactor) GetVerifiedAt

func (x *PasswordFactor) GetVerifiedAt() *timestamppb.Timestamp

func (*PasswordFactor) ProtoMessage

func (*PasswordFactor) ProtoMessage()

func (*PasswordFactor) ProtoReflect

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

func (*PasswordFactor) Reset

func (x *PasswordFactor) Reset()

func (*PasswordFactor) String

func (x *PasswordFactor) String() string

type RequestChallenges

type RequestChallenges struct {
	WebAuthN *RequestChallenges_WebAuthN `protobuf:"bytes,1,opt,name=web_auth_n,json=webAuthN,proto3,oneof" json:"web_auth_n,omitempty"`
	OtpSms   *RequestChallenges_OTPSMS   `protobuf:"bytes,2,opt,name=otp_sms,json=otpSms,proto3,oneof" json:"otp_sms,omitempty"`
	OtpEmail *RequestChallenges_OTPEmail `protobuf:"bytes,3,opt,name=otp_email,json=otpEmail,proto3,oneof" json:"otp_email,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestChallenges) Descriptor deprecated

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

Deprecated: Use RequestChallenges.ProtoReflect.Descriptor instead.

func (*RequestChallenges) GetOtpEmail

func (*RequestChallenges) GetOtpSms

func (*RequestChallenges) GetWebAuthN

func (*RequestChallenges) ProtoMessage

func (*RequestChallenges) ProtoMessage()

func (*RequestChallenges) ProtoReflect

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

func (*RequestChallenges) Reset

func (x *RequestChallenges) Reset()

func (*RequestChallenges) String

func (x *RequestChallenges) String() string

type RequestChallenges_OTPEmail

type RequestChallenges_OTPEmail struct {

	// if no delivery_type is specified, an email is sent with the default url
	//
	// Types that are assignable to DeliveryType:
	//
	//	*RequestChallenges_OTPEmail_SendCode_
	//	*RequestChallenges_OTPEmail_ReturnCode_
	DeliveryType isRequestChallenges_OTPEmail_DeliveryType `protobuf_oneof:"delivery_type"`
	// contains filtered or unexported fields
}

func (*RequestChallenges_OTPEmail) Descriptor deprecated

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

Deprecated: Use RequestChallenges_OTPEmail.ProtoReflect.Descriptor instead.

func (*RequestChallenges_OTPEmail) GetDeliveryType

func (m *RequestChallenges_OTPEmail) GetDeliveryType() isRequestChallenges_OTPEmail_DeliveryType

func (*RequestChallenges_OTPEmail) GetReturnCode

func (*RequestChallenges_OTPEmail) GetSendCode

func (*RequestChallenges_OTPEmail) ProtoMessage

func (*RequestChallenges_OTPEmail) ProtoMessage()

func (*RequestChallenges_OTPEmail) ProtoReflect

func (*RequestChallenges_OTPEmail) Reset

func (x *RequestChallenges_OTPEmail) Reset()

func (*RequestChallenges_OTPEmail) String

func (x *RequestChallenges_OTPEmail) String() string

type RequestChallenges_OTPEmail_ReturnCode

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

func (*RequestChallenges_OTPEmail_ReturnCode) Descriptor deprecated

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

Deprecated: Use RequestChallenges_OTPEmail_ReturnCode.ProtoReflect.Descriptor instead.

func (*RequestChallenges_OTPEmail_ReturnCode) ProtoMessage

func (*RequestChallenges_OTPEmail_ReturnCode) ProtoMessage()

func (*RequestChallenges_OTPEmail_ReturnCode) ProtoReflect

func (*RequestChallenges_OTPEmail_ReturnCode) Reset

func (*RequestChallenges_OTPEmail_ReturnCode) String

type RequestChallenges_OTPEmail_ReturnCode_

type RequestChallenges_OTPEmail_ReturnCode_ struct {
	ReturnCode *RequestChallenges_OTPEmail_ReturnCode `protobuf:"bytes,3,opt,name=return_code,json=returnCode,proto3,oneof"`
}

type RequestChallenges_OTPEmail_SendCode

type RequestChallenges_OTPEmail_SendCode struct {
	UrlTemplate *string `protobuf:"bytes,1,opt,name=url_template,json=urlTemplate,proto3,oneof" json:"url_template,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestChallenges_OTPEmail_SendCode) Descriptor deprecated

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

Deprecated: Use RequestChallenges_OTPEmail_SendCode.ProtoReflect.Descriptor instead.

func (*RequestChallenges_OTPEmail_SendCode) GetUrlTemplate

func (x *RequestChallenges_OTPEmail_SendCode) GetUrlTemplate() string

func (*RequestChallenges_OTPEmail_SendCode) ProtoMessage

func (*RequestChallenges_OTPEmail_SendCode) ProtoMessage()

func (*RequestChallenges_OTPEmail_SendCode) ProtoReflect

func (*RequestChallenges_OTPEmail_SendCode) Reset

func (*RequestChallenges_OTPEmail_SendCode) String

type RequestChallenges_OTPEmail_SendCode_

type RequestChallenges_OTPEmail_SendCode_ struct {
	SendCode *RequestChallenges_OTPEmail_SendCode `protobuf:"bytes,2,opt,name=send_code,json=sendCode,proto3,oneof"`
}

type RequestChallenges_OTPSMS

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

func (*RequestChallenges_OTPSMS) Descriptor deprecated

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

Deprecated: Use RequestChallenges_OTPSMS.ProtoReflect.Descriptor instead.

func (*RequestChallenges_OTPSMS) GetReturnCode

func (x *RequestChallenges_OTPSMS) GetReturnCode() bool

func (*RequestChallenges_OTPSMS) ProtoMessage

func (*RequestChallenges_OTPSMS) ProtoMessage()

func (*RequestChallenges_OTPSMS) ProtoReflect

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

func (*RequestChallenges_OTPSMS) Reset

func (x *RequestChallenges_OTPSMS) Reset()

func (*RequestChallenges_OTPSMS) String

func (x *RequestChallenges_OTPSMS) String() string

type RequestChallenges_WebAuthN

type RequestChallenges_WebAuthN struct {
	Domain                      string                      `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	UserVerificationRequirement UserVerificationRequirement `` /* 201-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RequestChallenges_WebAuthN) Descriptor deprecated

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

Deprecated: Use RequestChallenges_WebAuthN.ProtoReflect.Descriptor instead.

func (*RequestChallenges_WebAuthN) GetDomain

func (x *RequestChallenges_WebAuthN) GetDomain() string

func (*RequestChallenges_WebAuthN) GetUserVerificationRequirement

func (x *RequestChallenges_WebAuthN) GetUserVerificationRequirement() UserVerificationRequirement

func (*RequestChallenges_WebAuthN) ProtoMessage

func (*RequestChallenges_WebAuthN) ProtoMessage()

func (*RequestChallenges_WebAuthN) ProtoReflect

func (*RequestChallenges_WebAuthN) Reset

func (x *RequestChallenges_WebAuthN) Reset()

func (*RequestChallenges_WebAuthN) String

func (x *RequestChallenges_WebAuthN) String() string

type SearchQuery

type SearchQuery struct {

	// Types that are assignable to Query:
	//
	//	*SearchQuery_IdsQuery
	//	*SearchQuery_UserIdQuery
	//	*SearchQuery_CreationDateQuery
	Query isSearchQuery_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

func (*SearchQuery) Descriptor deprecated

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

Deprecated: Use SearchQuery.ProtoReflect.Descriptor instead.

func (*SearchQuery) GetCreationDateQuery

func (x *SearchQuery) GetCreationDateQuery() *CreationDateQuery

func (*SearchQuery) GetIdsQuery

func (x *SearchQuery) GetIdsQuery() *IDsQuery

func (*SearchQuery) GetQuery

func (m *SearchQuery) GetQuery() isSearchQuery_Query

func (*SearchQuery) GetUserIdQuery

func (x *SearchQuery) GetUserIdQuery() *UserIDQuery

func (*SearchQuery) ProtoMessage

func (*SearchQuery) ProtoMessage()

func (*SearchQuery) ProtoReflect

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

func (*SearchQuery) Reset

func (x *SearchQuery) Reset()

func (*SearchQuery) String

func (x *SearchQuery) String() string

type SearchQuery_CreationDateQuery

type SearchQuery_CreationDateQuery struct {
	CreationDateQuery *CreationDateQuery `protobuf:"bytes,3,opt,name=creation_date_query,json=creationDateQuery,proto3,oneof"`
}

type SearchQuery_IdsQuery

type SearchQuery_IdsQuery struct {
	IdsQuery *IDsQuery `protobuf:"bytes,1,opt,name=ids_query,json=idsQuery,proto3,oneof"`
}

type SearchQuery_UserIdQuery

type SearchQuery_UserIdQuery struct {
	UserIdQuery *UserIDQuery `protobuf:"bytes,2,opt,name=user_id_query,json=userIdQuery,proto3,oneof"`
}

type Session

type Session struct {
	Id             string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CreationDate   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
	ChangeDate     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
	Sequence       uint64                 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Factors        *Factors               `protobuf:"bytes,5,opt,name=factors,proto3" json:"factors,omitempty"`
	Metadata       map[string][]byte      `` /* 157-byte string literal not displayed */
	UserAgent      *UserAgent             `protobuf:"bytes,7,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	ExpirationDate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expiration_date,json=expirationDate,proto3,oneof" json:"expiration_date,omitempty"`
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

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

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetChangeDate

func (x *Session) GetChangeDate() *timestamppb.Timestamp

func (*Session) GetCreationDate

func (x *Session) GetCreationDate() *timestamppb.Timestamp

func (*Session) GetExpirationDate

func (x *Session) GetExpirationDate() *timestamppb.Timestamp

func (*Session) GetFactors

func (x *Session) GetFactors() *Factors

func (*Session) GetId

func (x *Session) GetId() string

func (*Session) GetMetadata

func (x *Session) GetMetadata() map[string][]byte

func (*Session) GetSequence

func (x *Session) GetSequence() uint64

func (*Session) GetUserAgent

func (x *Session) GetUserAgent() *UserAgent

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

type SessionFieldName

type SessionFieldName int32
const (
	SessionFieldName_SESSION_FIELD_NAME_UNSPECIFIED   SessionFieldName = 0
	SessionFieldName_SESSION_FIELD_NAME_CREATION_DATE SessionFieldName = 1
)

func (SessionFieldName) Descriptor

func (SessionFieldName) Enum

func (SessionFieldName) EnumDescriptor deprecated

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

Deprecated: Use SessionFieldName.Descriptor instead.

func (SessionFieldName) Number

func (SessionFieldName) String

func (x SessionFieldName) String() string

func (SessionFieldName) Type

type SessionServiceClient

type SessionServiceClient interface {
	// Search sessions
	ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error)
	// GetSession a session
	GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*GetSessionResponse, error)
	// Create a new session
	CreateSession(ctx context.Context, in *CreateSessionRequest, opts ...grpc.CallOption) (*CreateSessionResponse, error)
	// Update a session
	SetSession(ctx context.Context, in *SetSessionRequest, opts ...grpc.CallOption) (*SetSessionResponse, error)
	// Terminate a session
	DeleteSession(ctx context.Context, in *DeleteSessionRequest, opts ...grpc.CallOption) (*DeleteSessionResponse, error)
}

SessionServiceClient is the client API for SessionService 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 SessionServiceServer

type SessionServiceServer interface {
	// Search sessions
	ListSessions(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
	// GetSession a session
	GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error)
	// Create a new session
	CreateSession(context.Context, *CreateSessionRequest) (*CreateSessionResponse, error)
	// Update a session
	SetSession(context.Context, *SetSessionRequest) (*SetSessionResponse, error)
	// Terminate a session
	DeleteSession(context.Context, *DeleteSessionRequest) (*DeleteSessionResponse, error)
	// contains filtered or unexported methods
}

SessionServiceServer is the server API for SessionService service. All implementations must embed UnimplementedSessionServiceServer for forward compatibility

type SetSessionRequest

type SetSessionRequest struct {
	SessionId    string               `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	SessionToken string               `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
	Checks       *Checks              `protobuf:"bytes,3,opt,name=checks,proto3" json:"checks,omitempty"`
	Metadata     map[string][]byte    `` /* 157-byte string literal not displayed */
	Challenges   *RequestChallenges   `protobuf:"bytes,5,opt,name=challenges,proto3" json:"challenges,omitempty"`
	Lifetime     *durationpb.Duration `protobuf:"bytes,6,opt,name=lifetime,proto3,oneof" json:"lifetime,omitempty"`
	// contains filtered or unexported fields
}

func (*SetSessionRequest) Descriptor deprecated

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

Deprecated: Use SetSessionRequest.ProtoReflect.Descriptor instead.

func (*SetSessionRequest) GetChallenges

func (x *SetSessionRequest) GetChallenges() *RequestChallenges

func (*SetSessionRequest) GetChecks

func (x *SetSessionRequest) GetChecks() *Checks

func (*SetSessionRequest) GetLifetime

func (x *SetSessionRequest) GetLifetime() *durationpb.Duration

func (*SetSessionRequest) GetMetadata

func (x *SetSessionRequest) GetMetadata() map[string][]byte

func (*SetSessionRequest) GetSessionId

func (x *SetSessionRequest) GetSessionId() string

func (*SetSessionRequest) GetSessionToken

func (x *SetSessionRequest) GetSessionToken() string

func (*SetSessionRequest) ProtoMessage

func (*SetSessionRequest) ProtoMessage()

func (*SetSessionRequest) ProtoReflect

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

func (*SetSessionRequest) Reset

func (x *SetSessionRequest) Reset()

func (*SetSessionRequest) String

func (x *SetSessionRequest) String() string

type SetSessionResponse

type SetSessionResponse struct {
	Details      *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	SessionToken string          `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
	Challenges   *Challenges     `protobuf:"bytes,3,opt,name=challenges,proto3" json:"challenges,omitempty"`
	// contains filtered or unexported fields
}

func (*SetSessionResponse) Descriptor deprecated

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

Deprecated: Use SetSessionResponse.ProtoReflect.Descriptor instead.

func (*SetSessionResponse) GetChallenges

func (x *SetSessionResponse) GetChallenges() *Challenges

func (*SetSessionResponse) GetDetails

func (x *SetSessionResponse) GetDetails() *v2beta.Details

func (*SetSessionResponse) GetSessionToken

func (x *SetSessionResponse) GetSessionToken() string

func (*SetSessionResponse) ProtoMessage

func (*SetSessionResponse) ProtoMessage()

func (*SetSessionResponse) ProtoReflect

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

func (*SetSessionResponse) Reset

func (x *SetSessionResponse) Reset()

func (*SetSessionResponse) String

func (x *SetSessionResponse) String() string

type TOTPFactor

type TOTPFactor struct {
	VerifiedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"`
	// contains filtered or unexported fields
}

func (*TOTPFactor) Descriptor deprecated

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

Deprecated: Use TOTPFactor.ProtoReflect.Descriptor instead.

func (*TOTPFactor) GetVerifiedAt

func (x *TOTPFactor) GetVerifiedAt() *timestamppb.Timestamp

func (*TOTPFactor) ProtoMessage

func (*TOTPFactor) ProtoMessage()

func (*TOTPFactor) ProtoReflect

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

func (*TOTPFactor) Reset

func (x *TOTPFactor) Reset()

func (*TOTPFactor) String

func (x *TOTPFactor) String() string

type UnimplementedSessionServiceServer

type UnimplementedSessionServiceServer struct {
}

UnimplementedSessionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSessionServiceServer) CreateSession

func (UnimplementedSessionServiceServer) DeleteSession

func (UnimplementedSessionServiceServer) GetSession

func (UnimplementedSessionServiceServer) ListSessions

func (UnimplementedSessionServiceServer) SetSession

type UnsafeSessionServiceServer

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

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

type UserAgent

type UserAgent struct {
	FingerprintId *string                            `protobuf:"bytes,1,opt,name=fingerprint_id,json=fingerprintId,proto3,oneof" json:"fingerprint_id,omitempty"`
	Ip            *string                            `protobuf:"bytes,2,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	Description   *string                            `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Header        map[string]*UserAgent_HeaderValues `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UserAgent) Descriptor deprecated

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

Deprecated: Use UserAgent.ProtoReflect.Descriptor instead.

func (*UserAgent) GetDescription

func (x *UserAgent) GetDescription() string

func (*UserAgent) GetFingerprintId

func (x *UserAgent) GetFingerprintId() string

func (*UserAgent) GetHeader

func (x *UserAgent) GetHeader() map[string]*UserAgent_HeaderValues

func (*UserAgent) GetIp

func (x *UserAgent) GetIp() string

func (*UserAgent) ProtoMessage

func (*UserAgent) ProtoMessage()

func (*UserAgent) ProtoReflect

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

func (*UserAgent) Reset

func (x *UserAgent) Reset()

func (*UserAgent) String

func (x *UserAgent) String() string

type UserAgent_HeaderValues

type UserAgent_HeaderValues struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

A header may have multiple values. In Go, headers are defined as map[string][]string, but protobuf doesn't allow this scheme.

func (*UserAgent_HeaderValues) Descriptor deprecated

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

Deprecated: Use UserAgent_HeaderValues.ProtoReflect.Descriptor instead.

func (*UserAgent_HeaderValues) GetValues

func (x *UserAgent_HeaderValues) GetValues() []string

func (*UserAgent_HeaderValues) ProtoMessage

func (*UserAgent_HeaderValues) ProtoMessage()

func (*UserAgent_HeaderValues) ProtoReflect

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

func (*UserAgent_HeaderValues) Reset

func (x *UserAgent_HeaderValues) Reset()

func (*UserAgent_HeaderValues) String

func (x *UserAgent_HeaderValues) String() string

type UserFactor

type UserFactor struct {
	VerifiedAt  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"`
	Id          string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	LoginName   string                 `protobuf:"bytes,3,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"`
	DisplayName string                 `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// deprecated: use organization_id, will be remove before GA (https://github.com/zitadel/zitadel/issues/6718)
	OrganisationId string `protobuf:"bytes,5,opt,name=organisation_id,json=organisationId,proto3" json:"organisation_id,omitempty"`
	OrganizationId string `protobuf:"bytes,6,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserFactor) Descriptor deprecated

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

Deprecated: Use UserFactor.ProtoReflect.Descriptor instead.

func (*UserFactor) GetDisplayName

func (x *UserFactor) GetDisplayName() string

func (*UserFactor) GetId

func (x *UserFactor) GetId() string

func (*UserFactor) GetLoginName

func (x *UserFactor) GetLoginName() string

func (*UserFactor) GetOrganisationId

func (x *UserFactor) GetOrganisationId() string

func (*UserFactor) GetOrganizationId

func (x *UserFactor) GetOrganizationId() string

func (*UserFactor) GetVerifiedAt

func (x *UserFactor) GetVerifiedAt() *timestamppb.Timestamp

func (*UserFactor) ProtoMessage

func (*UserFactor) ProtoMessage()

func (*UserFactor) ProtoReflect

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

func (*UserFactor) Reset

func (x *UserFactor) Reset()

func (*UserFactor) String

func (x *UserFactor) String() string

type UserIDQuery

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

func (*UserIDQuery) Descriptor deprecated

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

Deprecated: Use UserIDQuery.ProtoReflect.Descriptor instead.

func (*UserIDQuery) GetId

func (x *UserIDQuery) GetId() string

func (*UserIDQuery) ProtoMessage

func (*UserIDQuery) ProtoMessage()

func (*UserIDQuery) ProtoReflect

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

func (*UserIDQuery) Reset

func (x *UserIDQuery) Reset()

func (*UserIDQuery) String

func (x *UserIDQuery) String() string

type UserVerificationRequirement

type UserVerificationRequirement int32
const (
	UserVerificationRequirement_USER_VERIFICATION_REQUIREMENT_UNSPECIFIED UserVerificationRequirement = 0
	UserVerificationRequirement_USER_VERIFICATION_REQUIREMENT_REQUIRED    UserVerificationRequirement = 1
	UserVerificationRequirement_USER_VERIFICATION_REQUIREMENT_PREFERRED   UserVerificationRequirement = 2
	UserVerificationRequirement_USER_VERIFICATION_REQUIREMENT_DISCOURAGED UserVerificationRequirement = 3
)

func (UserVerificationRequirement) Descriptor

func (UserVerificationRequirement) Enum

func (UserVerificationRequirement) EnumDescriptor deprecated

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

Deprecated: Use UserVerificationRequirement.Descriptor instead.

func (UserVerificationRequirement) Number

func (UserVerificationRequirement) String

func (UserVerificationRequirement) Type

type WebAuthNFactor

type WebAuthNFactor struct {
	VerifiedAt   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"`
	UserVerified bool                   `protobuf:"varint,2,opt,name=user_verified,json=userVerified,proto3" json:"user_verified,omitempty"`
	// contains filtered or unexported fields
}

func (*WebAuthNFactor) Descriptor deprecated

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

Deprecated: Use WebAuthNFactor.ProtoReflect.Descriptor instead.

func (*WebAuthNFactor) GetUserVerified

func (x *WebAuthNFactor) GetUserVerified() bool

func (*WebAuthNFactor) GetVerifiedAt

func (x *WebAuthNFactor) GetVerifiedAt() *timestamppb.Timestamp

func (*WebAuthNFactor) ProtoMessage

func (*WebAuthNFactor) ProtoMessage()

func (*WebAuthNFactor) ProtoReflect

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

func (*WebAuthNFactor) Reset

func (x *WebAuthNFactor) Reset()

func (*WebAuthNFactor) String

func (x *WebAuthNFactor) String() string

Jump to

Keyboard shortcuts

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