type
TOnTokenReceive = procedure(Sender: TObject; const AccessToken, RefreshToken: string) or object;
property OnTokenReceive: TOnTokenReceive;
Description
An event is called after the completion of the OAuth2 authentication prior initiated by the SignInAsync method and the successful receipt of tokens. The received tokens will also be available in the AccessToken and RefreshToken properties. In case of a failure, the error code will be available in the ResponseError property.