verifiablecredstypes

package
v2.454.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthBertyverifiablecreds        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBertyverifiablecreds          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBertyverifiablecreds = fmt.Errorf("proto: unexpected end of group")
)
View Source
var CodeStrategy_name = map[int32]string{
	0:   "CodeStrategyUndefined",
	1:   "CodeStrategy6Digits",
	2:   "CodeStrategy10Chars",
	999: "CodeStrategyMocked6Zeroes",
}
View Source
var CodeStrategy_value = map[string]int32{
	"CodeStrategyUndefined":     0,
	"CodeStrategy6Digits":       1,
	"CodeStrategy10Chars":       2,
	"CodeStrategyMocked6Zeroes": 999,
}
View Source
var FlowType_name = map[int32]string{
	0: "FlowTypeUndefined",
	1: "FlowTypeCode",
	2: "FlowTypeAuth",
	3: "FlowTypeProof",
}
View Source
var FlowType_value = map[string]int32{
	"FlowTypeUndefined": 0,
	"FlowTypeCode":      1,
	"FlowTypeAuth":      2,
	"FlowTypeProof":     3,
}

Functions

This section is empty.

Types

type AccountCryptoChallenge

type AccountCryptoChallenge struct {
	Challenge            string   `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AccountCryptoChallenge) Descriptor

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

func (*AccountCryptoChallenge) GetChallenge

func (m *AccountCryptoChallenge) GetChallenge() string

func (*AccountCryptoChallenge) Marshal

func (m *AccountCryptoChallenge) Marshal() (dAtA []byte, err error)

func (*AccountCryptoChallenge) MarshalTo

func (m *AccountCryptoChallenge) MarshalTo(dAtA []byte) (int, error)

func (*AccountCryptoChallenge) MarshalToSizedBuffer

func (m *AccountCryptoChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountCryptoChallenge) ProtoMessage

func (*AccountCryptoChallenge) ProtoMessage()

func (*AccountCryptoChallenge) Reset

func (m *AccountCryptoChallenge) Reset()

func (*AccountCryptoChallenge) Size

func (m *AccountCryptoChallenge) Size() (n int)

func (*AccountCryptoChallenge) String

func (m *AccountCryptoChallenge) String() string

func (*AccountCryptoChallenge) Unmarshal

func (m *AccountCryptoChallenge) Unmarshal(dAtA []byte) error

func (*AccountCryptoChallenge) XXX_DiscardUnknown

func (m *AccountCryptoChallenge) XXX_DiscardUnknown()

func (*AccountCryptoChallenge) XXX_Marshal

func (m *AccountCryptoChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountCryptoChallenge) XXX_Merge

func (m *AccountCryptoChallenge) XXX_Merge(src proto.Message)

func (*AccountCryptoChallenge) XXX_Size

func (m *AccountCryptoChallenge) XXX_Size() int

func (*AccountCryptoChallenge) XXX_Unmarshal

func (m *AccountCryptoChallenge) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (CodeStrategy) String

func (x CodeStrategy) String() string

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) EnumDescriptor

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

func (FlowType) String

func (x FlowType) String() string

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

StateChallenge serialized and signed state used when requesting a challenge

func (*StateChallenge) Descriptor

func (*StateChallenge) Descriptor() ([]byte, []int)
func (m *StateChallenge) GetBertyLink() string

func (*StateChallenge) GetNonce

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

func (*StateChallenge) GetRedirectURI

func (m *StateChallenge) GetRedirectURI() string

func (*StateChallenge) GetState

func (m *StateChallenge) GetState() string

func (*StateChallenge) GetTimestamp

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

func (*StateChallenge) Marshal

func (m *StateChallenge) Marshal() (dAtA []byte, err error)

func (*StateChallenge) MarshalTo

func (m *StateChallenge) MarshalTo(dAtA []byte) (int, error)

func (*StateChallenge) MarshalToSizedBuffer

func (m *StateChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateChallenge) ProtoMessage

func (*StateChallenge) ProtoMessage()

func (*StateChallenge) Reset

func (m *StateChallenge) Reset()

func (*StateChallenge) Size

func (m *StateChallenge) Size() (n int)

func (*StateChallenge) String

func (m *StateChallenge) String() string

func (*StateChallenge) Unmarshal

func (m *StateChallenge) Unmarshal(dAtA []byte) error

func (*StateChallenge) XXX_DiscardUnknown

func (m *StateChallenge) XXX_DiscardUnknown()

func (*StateChallenge) XXX_Marshal

func (m *StateChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateChallenge) XXX_Merge

func (m *StateChallenge) XXX_Merge(src proto.Message)

func (*StateChallenge) XXX_Size

func (m *StateChallenge) XXX_Size() int

func (*StateChallenge) XXX_Unmarshal

func (m *StateChallenge) XXX_Unmarshal(b []byte) error

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 `` /* 133-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"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

StateCode serialized and signed state used when requesting a code

func (*StateCode) Descriptor

func (*StateCode) Descriptor() ([]byte, []int)
func (m *StateCode) GetBertyLink() string

func (*StateCode) GetCode

func (m *StateCode) GetCode() string

func (*StateCode) GetCodeStrategy

func (m *StateCode) GetCodeStrategy() CodeStrategy

func (*StateCode) GetIdentifier

func (m *StateCode) GetIdentifier() string

func (*StateCode) GetRedirectURI

func (m *StateCode) GetRedirectURI() string

func (*StateCode) GetState

func (m *StateCode) GetState() string

func (*StateCode) GetTimestamp

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

func (*StateCode) Marshal

func (m *StateCode) Marshal() (dAtA []byte, err error)

func (*StateCode) MarshalTo

func (m *StateCode) MarshalTo(dAtA []byte) (int, error)

func (*StateCode) MarshalToSizedBuffer

func (m *StateCode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateCode) ProtoMessage

func (*StateCode) ProtoMessage()

func (*StateCode) Reset

func (m *StateCode) Reset()

func (*StateCode) Size

func (m *StateCode) Size() (n int)

func (*StateCode) String

func (m *StateCode) String() string

func (*StateCode) Unmarshal

func (m *StateCode) Unmarshal(dAtA []byte) error

func (*StateCode) XXX_DiscardUnknown

func (m *StateCode) XXX_DiscardUnknown()

func (*StateCode) XXX_Marshal

func (m *StateCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateCode) XXX_Merge

func (m *StateCode) XXX_Merge(src proto.Message)

func (*StateCode) XXX_Size

func (m *StateCode) XXX_Size() int

func (*StateCode) XXX_Unmarshal

func (m *StateCode) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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