SignInMethod

How SponsorkitClient.SignInAsync lets the supporter sign in.

On this page

How SponsorkitClient.SignInAsync lets the supporter sign in.

namespace Sponsorkit;

public enum SignInMethod

Values#

ValueDescription
AutoLoopback when a browser can be opened; paste-back over SSH, without a display, or when opening the browser fails.
LoopbackOpen the system browser and receive the code on http://127.0.0.1:<port>/callback.
PastePrint a URL; the supporter opens it on any device and pastes the displayed code back.

Auto#

Auto = 0

Loopback when a browser can be opened; paste-back over SSH, without a display, or when opening the browser fails.

Loopback#

Loopback = 1

Open the system browser and receive the code on http://127.0.0.1:<port>/callback.

Paste#

Paste = 2

Print a URL; the supporter opens it on any device and pastes the displayed code back.