procedure SignIn(Timeout: integer = 180);

 

Description

Starts the authorization process in the system browser and waits for a response from the external server, blocking the execution of the main program thread.

The duration of the wait time is limited by the Timeout parameter. If the Timeout is zero or less, the wait time will be infinite.

After the method is finished, the obtained tokens will be available in AccessToken and RefreshToken properties. In case of a failure, the error code will be available in ResponseError property.

SecureBridge Components, Copyright © 2007-2025 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support