Class RestrictedTokenOptionsExtensions
Extensions on RestrictedTokenOptions reserved for Unity-internal callers. These are not part of the supported public API; do not call from game code.
Inherited Members
Namespace: Unity.Services.Authentication.Internal
Assembly: Unity.Services.Authentication.dll
Syntax
public static class RestrictedTokenOptionsExtensions
Methods
SetCountry(RestrictedTokenOptions, string)
Sets the ISO-3166-1 alpha-2 country code to include in the issued token.
Declaration
public static void SetCountry(this RestrictedTokenOptions options, string country)
Parameters
| Type | Name | Description |
|---|---|---|
| RestrictedTokenOptions | options | The RestrictedTokenOptions to configure. |
| string | country | The ISO-3166-1 alpha-2 country code to set. |