Retrieves a user login by the provided external login issuer and subject. Returns null if the external login could not be found.

public abstract ValueTask<IUserLogin> GetUserLoginByExternalIdentityAsync(string issuer, string userId)
Returns:
ValueTask<IUserLogin>

Parameters

issuer string

The external login issuer (identity provider name).

userId string

The user id (subject) of the user at the external identity provider.

In this article