An authenticator for OAuth2 authentication flows
More...
|
| string | Token = "" [get, set] |
| |
An authenticator for OAuth2 authentication flows
◆ OAuthAuthenticator()
| Lusid.Sdk.Client.Auth.OAuthAuthenticator.OAuthAuthenticator |
( |
string |
tokenUrl, |
|
|
string |
clientId, |
|
|
string |
clientSecret, |
|
|
OAuthFlow? |
flow, |
|
|
JsonSerializerSettings |
serializerSettings, |
|
|
IReadableConfiguration |
configuration |
|
) |
| |
|
inline |
Initialize the OAuth2 Authenticator
◆ Authenticate()
| async ValueTask Lusid.Sdk.Client.Auth.OAuthAuthenticator.Authenticate |
( |
Request |
request | ) |
|
◆ GetAuthenticationParameter()
| async ValueTask<Parameter> Lusid.Sdk.Client.Auth.OAuthAuthenticator.GetAuthenticationParameter |
( |
string |
accessToken | ) |
|
|
inlineprotected |
Creates an authentication parameter from an access token.
- Parameters
-
| accessToken | Access token to create a parameter from. |
- Returns
- An authentication parameter.
◆ Token
| string Lusid.Sdk.Client.Auth.OAuthAuthenticator.Token = "" |
|
getsetprotected |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Client/Auth/OAuthAuthenticator.cs