REST.Authenticator.Simple.TSimpleAuthenticator
Delphi
TSimpleAuthenticator = class(TCustomAuthenticator)
C++
class PASCALIMPLEMENTATION TSimpleAuthenticator : public Rest::Client::TCustomAuthenticator
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | REST.Authenticator.Simple.pas REST.Authenticator.Simple.hpp |
REST.Authenticator.Simple | REST.Authenticator.Simple |
Description
Implements a basic authentication using a username and a password.
The data is transmitted as a set of key-value pairs, where the keys are UsernameKey and PasswordKey, and their values are Username and Password respectively.
Depending on the method of the request, the data is send either in the URL for a GET request or in the body for a POST request.
See Also
- REST.Authenticator.OAuth.TOAuth1Authenticator
- REST.Authenticator.OAuth.TOAuth2Authenticator
- REST.Authenticator.Basic.THTTPBasicAuthenticator
- REST.Authenticator.Simple.TSimpleAuthenticatorAdapter
- REST.Authenticator.Simple.TSubSimpleAuthenticationBindSource
- REST.Authenticator.Simple.TSimpleAuthenticator.Username
- REST.Authenticator.Simple.TSimpleAuthenticator.Password
- REST.Authenticator.Simple.TSimpleAuthenticator.UsernameKey
- REST.Authenticator.Simple.TSimpleAuthenticator.PasswordKey