Documentation ¶
Index ¶
- type AuthResponse
- type DefaultProfileByAddressResponse
- type LensAPI
- func (n *LensAPI) AuthenticateWithSignature(ctx context.Context, address persist.Address, sig string) (string, string, error)
- func (n *LensAPI) DefaultProfileByAddress(ctx context.Context, address persist.Address) (User, error)
- func (n *LensAPI) RefreshAccessToken(ctx context.Context, refreshToken string) (string, string, error)
- type RefreshResponse
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResponse ¶
type LensAPI ¶
type LensAPI struct {
// contains filtered or unexported fields
}
func (*LensAPI) AuthenticateWithSignature ¶
func (*LensAPI) DefaultProfileByAddress ¶
type RefreshResponse ¶
type User ¶
type User struct { ID string `json:"id"` Name string `json:"name"` Bio string `json:"bio"` IsDefault bool `json:"isDefault"` Picture struct { Optimized struct { URL string `json:"url"` MimeType string `json:"mimeType"` } `json:"optimized"` URI string `json:"uri"` } `json:"picture"` Handle string `json:"handle"` OwnedBy string `json:"ownedBy"` }
Click to show internal directories.
Click to hide internal directories.