Table of Contents

TExternalSignInArgs.Resolve Method

Runs Sphinx's built-in reconciliation policy and assigns User with its result.

Remarks

Use this from an OnExternalSignIn handler to reuse the default policy (find existing link, optionally auto-link by e-mail, optionally auto-provision -- as configured in ExternalLoginOptions) instead of resolving the user by hand. Returns the resolved user, or nil when the policy could not resolve one. The same value is also assigned to User.

Syntax

Unit: Sphinx.EventArgs

function TExternalSignInArgs.Resolve: TUser;

See also