Documentation
¶
Overview ¶
Deprecated: use github.com/bluesky-social/indigo/atproto/identity for new projects
Index ¶
- type CachingDidResolver
- type CreateOp
- type FakeDid
- func (fd *FakeDid) CreateDID(ctx context.Context, sigkey *did.PrivKey, recovery string, handle string, ...) (string, error)
- func (fd *FakeDid) FlushCacheFor(did string)
- func (fd *FakeDid) GetDocument(ctx context.Context, udid string) (*did.Document, error)
- func (fd *FakeDid) UpdateUserHandle(ctx context.Context, did string, nhandle string) error
- type FakeDidMapping
- type MemcachedDidResolver
- type PLCClient
- type PLCServer
- func (s *PLCServer) CreateDID(ctx context.Context, sigkey *did.PrivKey, recovery string, handle string, ...) (string, error)
- func (s *PLCServer) FlushCacheFor(did string)
- func (s *PLCServer) GetDocument(ctx context.Context, didstr string) (*did.Document, error)
- func (s *PLCServer) UpdateUserHandle(ctx context.Context, did string, handle string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachingDidResolver ¶
type CachingDidResolver struct {
// contains filtered or unexported fields
}
func NewCachingDidResolver ¶
func (*CachingDidResolver) FlushCacheFor ¶
func (r *CachingDidResolver) FlushCacheFor(didstr string)
func (*CachingDidResolver) GetDocument ¶
type CreateOp ¶
type CreateOp struct {
Type string `json:"type" cborgen:"type"`
SigningKey string `json:"signingKey" cborgen:"signingKey"`
RecoveryKey string `json:"recoveryKey" cborgen:"recoveryKey"`
Handle string `json:"handle" cborgen:"handle"`
Service string `json:"service" cborgen:"service"`
Prev *string `json:"prev" cborgen:"prev"`
Sig string `json:"sig" cborgen:"sig,omitempty"`
}
type FakeDid ¶
type FakeDid struct {
// contains filtered or unexported fields
}
func NewFakeDid ¶
func (*FakeDid) FlushCacheFor ¶
func (*FakeDid) GetDocument ¶
type FakeDidMapping ¶
type MemcachedDidResolver ¶
type MemcachedDidResolver struct {
// contains filtered or unexported fields
}
func NewMemcachedDidResolver ¶
func (*MemcachedDidResolver) FlushCacheFor ¶
func (r *MemcachedDidResolver) FlushCacheFor(didstr string)
func (*MemcachedDidResolver) GetDocument ¶
type PLCServer ¶
func (*PLCServer) FlushCacheFor ¶
func (*PLCServer) GetDocument ¶
Click to show internal directories.
Click to hide internal directories.