verifiablecredstypes

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FlowType_name = map[int32]string{
		0: "FlowTypeUndefined",
		1: "FlowTypeCode",
		2: "FlowTypeAuth",
		3: "FlowTypeProof",
	}
	FlowType_value = map[string]int32{
		"FlowTypeUndefined": 0,
		"FlowTypeCode":      1,
		"FlowTypeAuth":      2,
		"FlowTypeProof":     3,
	}
)

Enum value maps for FlowType.

View Source
var (
	CodeStrategy_name = map[int32]string{
		0:   "CodeStrategyUndefined",
		1:   "CodeStrategy6Digits",
		2:   "CodeStrategy10Chars",
		999: "CodeStrategyMocked6Zeroes",
	}
	CodeStrategy_value = map[string]int32{
		"CodeStrategyUndefined":     0,
		"CodeStrategy6Digits":       1,
		"CodeStrategy10Chars":       2,
		"CodeStrategyMocked6Zeroes": 999,
	}
)

Enum value maps for CodeStrategy.

View Source
var File_verifiablecredstypes_bertyverifiablecreds_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountCryptoChallenge

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

func (*AccountCryptoChallenge) Descriptor deprecated

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

Deprecated: Use AccountCryptoChallenge.ProtoReflect.Descriptor instead.

func (*AccountCryptoChallenge) GetChallenge

func (x *AccountCryptoChallenge) GetChallenge() string

func (*AccountCryptoChallenge) ProtoMessage

func (*AccountCryptoChallenge) ProtoMessage()

func (*AccountCryptoChallenge) ProtoReflect

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

func (*AccountCryptoChallenge) Reset

func (x *AccountCryptoChallenge) Reset()

func (*AccountCryptoChallenge) String

func (x *AccountCryptoChallenge) String() string

type CodeStrategy

type CodeStrategy int32
const (
	CodeStrategy_CodeStrategyUndefined CodeStrategy = 0
	// CodeStrategy6Digits currently unimplemented
	CodeStrategy_CodeStrategy6Digits CodeStrategy = 1
	// CodeStrategy10Chars currently unimplemented
	CodeStrategy_CodeStrategy10Chars CodeStrategy = 2
	// CodeStrategyMocked6Zeroes must only be used in testing
	CodeStrategy_CodeStrategyMocked6Zeroes CodeStrategy = 999
)

func (CodeStrategy) Descriptor

func (CodeStrategy) Enum

func (x CodeStrategy) Enum() *CodeStrategy

func (CodeStrategy) EnumDescriptor deprecated

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

Deprecated: Use CodeStrategy.Descriptor instead.

func (CodeStrategy) Number

func (CodeStrategy) String

func (x CodeStrategy) String() string

func (CodeStrategy) Type

type FlowType

type FlowType int32
const (
	FlowType_FlowTypeUndefined FlowType = 0
	// FlowTypeCode asks users a code sent on a side channel
	FlowType_FlowTypeCode FlowType = 1
	// FlowTypeAuth currently unimplemented
	FlowType_FlowTypeAuth FlowType = 2
	// FlowTypeProof currently unimplemented
	FlowType_FlowTypeProof FlowType = 3
)

func (FlowType) Descriptor

func (FlowType) Descriptor() protoreflect.EnumDescriptor

func (FlowType) Enum

func (x FlowType) Enum() *FlowType

func (FlowType) EnumDescriptor deprecated

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

Deprecated: Use FlowType.Descriptor instead.

func (FlowType) Number

func (x FlowType) Number() protoreflect.EnumNumber

func (FlowType) String

func (x FlowType) String() string

func (FlowType) Type

type StateChallenge

type StateChallenge struct {
	Timestamp   []byte `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Nonce       []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	BertyLink   string `protobuf:"bytes,3,opt,name=berty_link,json=bertyLink,proto3" json:"berty_link,omitempty"`
	RedirectUri string `protobuf:"bytes,4,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	State       string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

StateChallenge serialized and signed state used when requesting a challenge

func (*StateChallenge) Descriptor deprecated

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

Deprecated: Use StateChallenge.ProtoReflect.Descriptor instead.

func (x *StateChallenge) GetBertyLink() string

func (*StateChallenge) GetNonce

func (x *StateChallenge) GetNonce() []byte

func (*StateChallenge) GetRedirectUri

func (x *StateChallenge) GetRedirectUri() string

func (*StateChallenge) GetState

func (x *StateChallenge) GetState() string

func (*StateChallenge) GetTimestamp

func (x *StateChallenge) GetTimestamp() []byte

func (*StateChallenge) ProtoMessage

func (*StateChallenge) ProtoMessage()

func (*StateChallenge) ProtoReflect

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

func (*StateChallenge) Reset

func (x *StateChallenge) Reset()

func (*StateChallenge) String

func (x *StateChallenge) String() string

type StateCode

type StateCode struct {
	Timestamp    []byte       `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	BertyLink    string       `protobuf:"bytes,2,opt,name=berty_link,json=bertyLink,proto3" json:"berty_link,omitempty"`
	CodeStrategy CodeStrategy `` /* 135-byte string literal not displayed */
	Identifier   string       `protobuf:"bytes,4,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Code         string       `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`
	RedirectUri  string       `protobuf:"bytes,6,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	State        string       `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

StateCode serialized and signed state used when requesting a code

func (*StateCode) Descriptor deprecated

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

Deprecated: Use StateCode.ProtoReflect.Descriptor instead.

func (x *StateCode) GetBertyLink() string

func (*StateCode) GetCode

func (x *StateCode) GetCode() string

func (*StateCode) GetCodeStrategy

func (x *StateCode) GetCodeStrategy() CodeStrategy

func (*StateCode) GetIdentifier

func (x *StateCode) GetIdentifier() string

func (*StateCode) GetRedirectUri

func (x *StateCode) GetRedirectUri() string

func (*StateCode) GetState

func (x *StateCode) GetState() string

func (*StateCode) GetTimestamp

func (x *StateCode) GetTimestamp() []byte

func (*StateCode) ProtoMessage

func (*StateCode) ProtoMessage()

func (*StateCode) ProtoReflect

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

func (*StateCode) Reset

func (x *StateCode) Reset()

func (*StateCode) String

func (x *StateCode) String() string

Jump to

Keyboard shortcuts

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