procedure SignInAsync;

 

Description

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

The wait process can be forcibly stopped by the Cancel method.

After the server responds, the OnTokenReceive event will be raised, and the received tokens will also be available in the AccessToken and RefreshToken properties. In the event of a failure, the error code will be available in the ResponseError property.

After the response of the server, the OnTokenReceive event will be called, also the tokens will be available in the AccessToken and RefreshToken properties. In case of a failure, the error code will be available in ResponseError property.

 

See also

AccessToken

Cancel

OnTokenReceive

RefreshToken

ResponseError

 

 

 

 

 

 

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