package
0.0.0-20220328093804-29ea0c38cb95
Repository: https://github.com/mises-id/sdk.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
type MUserAuthorization interface { UserDid() string //mises app did AppDid() string //to Permissions() []string //user_info_r, user_info_w, user_relation_r, user_relation_w ExpireTimestamp() int // AppAuthorization() MAppAuth } type MAppInfo interface { ApppDid() string //did:mises:0123456789abcdef AppName() string // IconDid() string //udid of icon file did:mises:0123456789abcdef/icon IconThumb() []byte Domain() string //app Developer() string } type MAppAuth interface { AppInfo() MAppInfo MisesId() Permissions() []string // ExpireTimestamp() int // } type MAppMgr interface { AddApp(app MAppAuth, removable bool) (MApp, error) ListApps() ([]MApp, error) RemoveApp(appDid string) error } type MEvent interface { EventID() int } type MEventCallback func(event MEvent) error type MApp interface { AppDID() (string, error) AppDomain() string SetAppDomain(string) IsRegistered() (bool, error) Register(MAppInfo string, appDid string) error AddAuth(misesid string, permission []string) (MAppAuth, error) // GenerateAuthorization(permisions []string) (MAppAuthorization, error) AddEventListener(userDid string, userAuth MUserAuthorization, callback MEventCallback) RemoveUserEventListener(userDid string, userAuth MUserAuthorization, callback MEventCallback) error ListFollow(whomDid string) (dids []string) Commit() error Cancel() error Agent() (MAgent, error) } */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author