Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 884 Bytes

File metadata and controls

32 lines (21 loc) · 884 Bytes
code type title description
true
page
GetMyCredentialsAsync
Returns the current user's credential information for the specified strategy.

GetMyCredentialsAsync

Returns the current user's credential information for the specified strategy. The data returned will depend on the specified strategy. The result can be an empty string.

Arguments

public async Task<JObject> GetMyCredentialsAsync(string strategy);
Argument Type Description
strategy
string
Strategy to use

Return

Returns a JObject representing the credentials for the provided authentication strategy.

Exceptions

Throws a KuzzleException if there is an error. See how to handle error.

Usage

<<< ./snippets/get-my-credentials.cs