REST.Backend.KinveyApi.TKinveyApi.TAuthentication

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TAuthentication = (Default, MasterSecret, AppSecret, UserName, Session, None);

C++

enum class DECLSPEC_DENUM TAuthentication : unsigned char { Default, 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 types.

Indicates the type of authentication to pass in the REST request.

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

Item Description
Default Used when logging out. When TAuthentication is set to Default, TDefaultAuthentication is used.
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.

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

See Also