Documentation ¶
Index ¶
- Variables
- type AccountCryptoChallenge
- func (*AccountCryptoChallenge) Descriptor() ([]byte, []int)
- func (m *AccountCryptoChallenge) GetChallenge() string
- func (m *AccountCryptoChallenge) Marshal() (dAtA []byte, err error)
- func (m *AccountCryptoChallenge) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountCryptoChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountCryptoChallenge) ProtoMessage()
- func (m *AccountCryptoChallenge) Reset()
- func (m *AccountCryptoChallenge) Size() (n int)
- func (m *AccountCryptoChallenge) String() string
- func (m *AccountCryptoChallenge) Unmarshal(dAtA []byte) error
- func (m *AccountCryptoChallenge) XXX_DiscardUnknown()
- func (m *AccountCryptoChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountCryptoChallenge) XXX_Merge(src proto.Message)
- func (m *AccountCryptoChallenge) XXX_Size() int
- func (m *AccountCryptoChallenge) XXX_Unmarshal(b []byte) error
- type CodeStrategy
- type FlowType
- type StateChallenge
- func (*StateChallenge) Descriptor() ([]byte, []int)
- func (m *StateChallenge) GetBertyLink() string
- func (m *StateChallenge) GetNonce() []byte
- func (m *StateChallenge) GetRedirectURI() string
- func (m *StateChallenge) GetState() string
- func (m *StateChallenge) GetTimestamp() []byte
- func (m *StateChallenge) Marshal() (dAtA []byte, err error)
- func (m *StateChallenge) MarshalTo(dAtA []byte) (int, error)
- func (m *StateChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StateChallenge) ProtoMessage()
- func (m *StateChallenge) Reset()
- func (m *StateChallenge) Size() (n int)
- func (m *StateChallenge) String() string
- func (m *StateChallenge) Unmarshal(dAtA []byte) error
- func (m *StateChallenge) XXX_DiscardUnknown()
- func (m *StateChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateChallenge) XXX_Merge(src proto.Message)
- func (m *StateChallenge) XXX_Size() int
- func (m *StateChallenge) XXX_Unmarshal(b []byte) error
- type StateCode
- func (*StateCode) Descriptor() ([]byte, []int)
- func (m *StateCode) GetBertyLink() string
- func (m *StateCode) GetCode() string
- func (m *StateCode) GetCodeStrategy() CodeStrategy
- func (m *StateCode) GetIdentifier() string
- func (m *StateCode) GetRedirectURI() string
- func (m *StateCode) GetState() string
- func (m *StateCode) GetTimestamp() []byte
- func (m *StateCode) Marshal() (dAtA []byte, err error)
- func (m *StateCode) MarshalTo(dAtA []byte) (int, error)
- func (m *StateCode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StateCode) ProtoMessage()
- func (m *StateCode) Reset()
- func (m *StateCode) Size() (n int)
- func (m *StateCode) String() string
- func (m *StateCode) Unmarshal(dAtA []byte) error
- func (m *StateCode) XXX_DiscardUnknown()
- func (m *StateCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateCode) XXX_Merge(src proto.Message)
- func (m *StateCode) XXX_Size() int
- func (m *StateCode) XXX_Unmarshal(b []byte) error
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 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 (*StateChallenge) GetBertyLink ¶
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) 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 `` /* 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"` 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) GetBertyLink ¶
func (*StateCode) GetCodeStrategy ¶
func (m *StateCode) GetCodeStrategy() CodeStrategy
func (*StateCode) GetIdentifier ¶
func (*StateCode) GetRedirectURI ¶
func (*StateCode) GetTimestamp ¶
func (*StateCode) MarshalToSizedBuffer ¶
func (*StateCode) ProtoMessage ¶
func (*StateCode) ProtoMessage()
func (*StateCode) XXX_DiscardUnknown ¶
func (m *StateCode) XXX_DiscardUnknown()
func (*StateCode) XXX_Marshal ¶
func (*StateCode) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.