Class OAuth2UriQueryParameterAuthenticator
- Namespace
- RestSharp.Authenticators.OAuth2
- Assembly
- RestSharp.dll
The OAuth 2 authenticator using URI query parameter.
public class OAuth2UriQueryParameterAuthenticator : AuthenticatorBase, IAuthenticator
- Inheritance
-
OAuth2UriQueryParameterAuthenticator
- Implements
- Inherited Members
Remarks
Constructors
OAuth2UriQueryParameterAuthenticator(string)
Initializes a new instance of the OAuth2UriQueryParameterAuthenticator class.
public OAuth2UriQueryParameterAuthenticator(string accessToken)
Parameters
accessToken
stringThe access token.
Methods
GetAuthenticationParameter(string)
protected override ValueTask<Parameter> GetAuthenticationParameter(string accessToken)
Parameters
accessToken
string