Table of Contents

Class AuthProviders

Namespace
VpnHood.AppLib.Api.Accounts
Assembly
VpnHood.AppLib.Api.dll

Provides the IDs of the well-known sign-in methods.

public static class AuthProviders
Inheritance
AuthProviders
Inherited Members

Remarks

A sign-in method's ID is a string the app's sign-in provider declares, so an app may bring a method of its own. The ID is a contract, in lower case: the account backend checks a sign-in by it, and the UI names its button by the key SIGN_IN_WITH_ and the ID in upper case, or "Sign in" where it has no such key, so changing an ID breaks both.

Fields

Apple

The ID of the sign-in with Apple.

public const string Apple = "apple"

Field Value

string

Google

The ID of the sign-in with Google.

public const string Google = "google"

Field Value

string

Microsoft

The ID of the sign-in with Microsoft.

public const string Microsoft = "microsoft"

Field Value

string

Password

The ID of the sign-in with the account website's email address and password.

public const string Password = "password"

Field Value

string

Remarks

It signs in only, never creating an account, and may need a second step (State).