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