A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mongodb.com/docs/realm-sdks/dotnet/latest/reference/Realms.Sync.User.ApiKeyClient.html below:

Class User.ApiKeyClient | Realm

Class User.ApiKeyClient

A class exposing functionality for users to manage API keys from the client. It is always scoped to a particular User and can only be accessed via ApiKeys.

Inheritance

User.ApiKeyClient

Namespace: Realms.Sync Assembly: Realm.dll Syntax
public class User.ApiKeyClient
Methods | Edit this page View Source CreateAsync(string)

Creates an API key that can be used to authenticate as the user.

Declaration
public Task<ApiKey> CreateAsync(string name)
Parameters Type Name Description string name

The friendly name of the key.

Returns | Edit this page View Source DeleteAsync(ObjectId)

Deletes an API key by id.

Declaration
public Task DeleteAsync(ObjectId id)
Parameters Type Name Description ObjectId id

The id of the key to delete.

Returns Type Description Task

An awaitable Task representing the asynchronous delete operation.

| Edit this page View Source DisableAsync(ObjectId)

Disables an API key by id.

Declaration
public Task DisableAsync(ObjectId id)
Parameters Type Name Description ObjectId id

The id of the key to disable.

Returns Type Description Task

An awaitable Task representing the asynchronous disable operation.

See Also | Edit this page View Source EnableAsync(ObjectId)

Enables an API key by id.

Declaration
public Task EnableAsync(ObjectId id)
Parameters Type Name Description ObjectId id

The id of the key to enable.

Returns Type Description Task

An awaitable Task representing the asynchronous enable operation.

See Also | Edit this page View Source FetchAllAsync()

Fetches all API keys associated with the user.

Declaration
public Task<IEnumerable<ApiKey>> FetchAllAsync()
Returns Type Description Task<IEnumerable<ApiKey>>

An awaitable task representing the asynchronous lookup operation. Upon completion, the result contains a collection of all API keys for that user.

| Edit this page View Source FetchAsync(ObjectId)

Fetches a specific user API key by id.

Declaration
public Task<ApiKey?> FetchAsync(ObjectId id)
Parameters Type Name Description ObjectId id

The id of the key to fetch.

Returns

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4