TROHttpApiSimpleAuthenticationManager
Overview
Location
- Unit: uROHttpApiSimpleAuthenticationManager.pas
- Ancestry: TComponent | TROHttpApiBaseAuthenticationManager | TROHttpApiSimpleAuthenticationManager
CORSCompatible
property CORSCompatible: Boolean read write
DoWriteMethodSecurity protected override
procedure DoWriteMethodSecurity(aMethodRoot: TROJSONObject; aServiceName: string; aMethodName: string)
Parameters:
- aMethodRoot:
- aServiceName:
- aMethodName:
DoWriteServerSecurity protected override
procedure DoWriteServerSecurity(aRoot: TROJSONObject)
Parameters:
- aRoot:
DoWriteServerSecurityDefinitions protected override
procedure DoWriteServerSecurityDefinitions(aRoot: TROJSONObject)
Parameters:
- aRoot:
IsNeedSession (declared in TROHttpApiBaseAuthenticationManager)
function IsNeedSession(aServiceName: string; aMethodName: string): Boolean
Parameters:
- aServiceName:
- aMethodName:
OnCanWriteMethodSecurity (declared in TROHttpApiBaseAuthenticationManager)
property OnCanWriteMethodSecurity: TROHttpApiCanWriteMethodSecurity read write
delegate: procedure OnCanWriteMethodSecurity(aServiceName: string; aMethodName: string; var CanWrite: Boolean)
ReadAuthenticationInfo override
function ReadAuthenticationInfo(aRequest: IROHTTPRequest): TROHttpApiSession
Parameters:
- aRequest:
SecurityMode (declared in TROHttpApiBaseAuthenticationManager)
property SecurityMode: TROHttpApiSecurityMode read write
SessionManager (declared in TROHttpApiBaseAuthenticationManager)
property SessionManager: TROCustomSessionManager read write
WriteAuthenticationInfo override
procedure WriteAuthenticationInfo(aResponse: IROHTTPResponse; aSessionInfo: TROHttpApiSession)
Parameters:
- aResponse:
- aSessionInfo:
WriteMethodSecurity (declared in TROHttpApiBaseAuthenticationManager)
procedure WriteMethodSecurity(aMethodRoot: TROJSONObject; aServiceName: string; aMethodName: string)
Parameters:
- aMethodRoot:
- aServiceName:
- aMethodName:
WriteServerSecurity (declared in TROHttpApiBaseAuthenticationManager)
procedure WriteServerSecurity(aRoot: TROJSONObject)
Parameters:
- aRoot:
WriteServerSecurityDefinitions (declared in TROHttpApiBaseAuthenticationManager)
procedure WriteServerSecurityDefinitions(aRoot: TROJSONObject)
Parameters:
- aRoot:
CORSCompatible
property CORSCompatible: Boolean read write
SecurityMode (declared in TROHttpApiBaseAuthenticationManager)
property SecurityMode: TROHttpApiSecurityMode read write
SessionManager (declared in TROHttpApiBaseAuthenticationManager)
property SessionManager: TROCustomSessionManager read write
DoWriteMethodSecurity protected override
procedure DoWriteMethodSecurity(aMethodRoot: TROJSONObject; aServiceName: string; aMethodName: string)
Parameters:
- aMethodRoot:
- aServiceName:
- aMethodName:
DoWriteServerSecurity protected override
procedure DoWriteServerSecurity(aRoot: TROJSONObject)
Parameters:
- aRoot:
DoWriteServerSecurityDefinitions protected override
procedure DoWriteServerSecurityDefinitions(aRoot: TROJSONObject)
Parameters:
- aRoot:
IsNeedSession (declared in TROHttpApiBaseAuthenticationManager)
function IsNeedSession(aServiceName: string; aMethodName: string): Boolean
Parameters:
- aServiceName:
- aMethodName:
ReadAuthenticationInfo override
function ReadAuthenticationInfo(aRequest: IROHTTPRequest): TROHttpApiSession
Parameters:
- aRequest:
WriteAuthenticationInfo override
procedure WriteAuthenticationInfo(aResponse: IROHTTPResponse; aSessionInfo: TROHttpApiSession)
Parameters:
- aResponse:
- aSessionInfo:
WriteMethodSecurity (declared in TROHttpApiBaseAuthenticationManager)
procedure WriteMethodSecurity(aMethodRoot: TROJSONObject; aServiceName: string; aMethodName: string)
Parameters:
- aMethodRoot:
- aServiceName:
- aMethodName:
WriteServerSecurity (declared in TROHttpApiBaseAuthenticationManager)
procedure WriteServerSecurity(aRoot: TROJSONObject)
Parameters:
- aRoot:
WriteServerSecurityDefinitions (declared in TROHttpApiBaseAuthenticationManager)
procedure WriteServerSecurityDefinitions(aRoot: TROJSONObject)
Parameters:
- aRoot:
OnCanWriteMethodSecurity (declared in TROHttpApiBaseAuthenticationManager)
property OnCanWriteMethodSecurity: TROHttpApiCanWriteMethodSecurity read write
delegate: procedure OnCanWriteMethodSecurity(aServiceName: string; aMethodName: string; var CanWrite: Boolean)