Class UserSecretService

Class UserSecretService#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Services.UserSecretService : xbe.sdk.ServiceBase#

Public Functions

UserSecretService ()#
Task<List<UserSecret>> FindAll (string userId, Dictionary<string, string> query = null)#

Returns all secrets for a given user.

Task<UserSecret> Create (string userId, UserSecret obj)#

Create a new user secret.

Task<long?> Count (string userId, Dictionary<string, string> query = null)#

Returns the count of UserSecret objects for a given user.

Task<UserSecret> SetPassword (string userId, UserSecret obj)#

Sets the password for the user with the given unique identifier.

Task<UserSecret> FindById (string userId, string id)#

Returns a single UserSecret for a specified user.

Task<UserSecret> Update (string userId, string id, UserSecret obj)#

Updates a single UserSecret.

Task Delete (string userId, string id)#

Deletes the UserSecret.