ROServiceRequiresLogin how to use it?

For Remoting SDK, any samples about how to use ROServiceRequiresLogin attribute?

can you specify your platform (Delphi or .NET), pls?

It is Delphi

Delphi hasn’t ROServiceRequiresLogin code-first attribute.

did you mean TRORemoteDataModule.RequiresSession property?

It is from the document here and confuses me:

https://docs.remotingsdk.com/Servers/Concepts/CodeFirst/

Additional attributes are available to optionally configure your service. For example, you can specify what class factory to use (StandardClassFactory is the default, and does not need to be specified), or you can use ServiceRequiresLogin (.NET) or ROServiceRequiresLogin (Delphi) to make a service as only being callable if the client authenticated before (see the

thx.
I will fix the documentation.
Both types (RODL based and Code-First based) of delphi services uses TRORemoteDataModule.RequiresSession property for specifying if session is required.

Thank you.

Any detailed documentation/sample on how to use TRORemoteDataModule.RequiresSession ?

pls review the Session Types sample.
also this feature is used in the SuperHTTP Chat and the SuperTCP Channel Chat samples