Enum LocalServerCodeReceiver.CallbackUriChooserStrategy (1.68.0)

public enum LocalServerCodeReceiver.CallbackUriChooserStrategy

Describes the different strategies for the selection of the callback URI. 127.0.0.1 is recommended, but can't be done in non-admin Windows 7 and 8 at least.

Namespace

Google.Apis.Auth.OAuth2

Assembly

Google.Apis.Auth.dll

Fields

Name Description
Default

Use heuristics to attempt to connect to the recommended URI 127.0.0.1 but use localhost if that fails.

ForceLocalhost

Force localhost as the callback URI. No checks are performed.

ForceLoopbackIp

Force 127.0.0.1 as the callback URI. No checks are performed.

Extension Method