Sudo Profiles Client
Interface encapsulating a library of functions for calling Sudo service and managing Sudos.
Inheritors
Types
Functions
Creates a new Sudo
Deletes a Sudo.
Export encryption keys used for encrypting and decrypting Sudo claims.
Generate an encryption key to use for encrypting Sudo claims. Any existing keys are not removed to be able to decrypt existing claims but new claims will be encrypted using the newly generated key.
Retrieves a signed ownership proof for the specified owner. The ownership proof JWT has the following payload. { "jti": "DBEEF4EB-F84A-4AB7-A45E-02B05B93F5A3", "owner": "cd73a478-23bd-4c70-8c2b-1403e2085845", "iss": "sudoplatform.sudoservice", "aud": "sudoplatform.virtualcardservice", "exp": 1578986266, "sub": "da17f346-cf49-4db4-98c2-862f85515fc4", "iat": 1578982666 }
Get the current (most recently generated) symmetric key ID used for encryption.
Import encryption keys to use for encrypting and decrypting Sudo claims. All existing keys will be removed before the new keys are imported.
Retrieves all Sudos owned by the signed in user.
Subscribes to be notified of new, updated and deleted Sudos. Blob data is not downloaded automatically so the caller is expected to use listSudos
API if they need to access any associated blobs.
Subscribes to be notified of new, updated or deleted Sudos. Blob data is not downloaded automatically so the caller is expected to use listSudos
API if they need to access any associated blobs.
Unsubscribes the specified subscriber so that it no longer receives change notifications.
Unsubscribes the specified subscriber so that it no longer receives notifications about new, updated or deleted Sudos.
Unsubscribe all subscribers from receiving notifications about new, updated or deleted Sudos.
Updates a Sudo.