REST.Backend.KinveyApi.TKinveyApi.TDefaultAuthentication

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDefaultAuthentication = (MasterSecret, AppSecret, UserName, Session, None);

C++

enum class DECLSPEC_DENUM TDefaultAuthentication : unsigned char { MasterSecret, AppSecret, UserName, Session, None };

Properties

Type Visibility Source Unit Parent
enum public
REST.Backend.KinveyApi.pas
REST.Backend.KinveyApi.hpp
REST.Backend.KinveyApi TKinveyApi

Description

Is an enumeration of authentication default types.

Indicates the type of authentication to pass in the REST request. TDefaultAuthentication is used when the TAuthentication value is Default.

A variable of TDefaultAuthentication can have one of the following values:

Item Description
MasterSecret Indicates that the MasterSecret type of authentication is passed in the REST request.
AppSecret Indicates that the AppSecret type of authentication is passed in the REST request.
UserName Indicates that the UserName type of authentication is passed in the REST request.
Session Used when logging in.
None Indicates that no authentication is passed in the REST request.

TDefaultAuthentication is used together with TAuthentication when logging in and out.

See Also