Class IosPkcePlatformSupport
This class handles iOS platform-specific features in the authentication flow.
Inherited Members
Namespace: Unity.Cloud.Identity.Runtime
Assembly: Unity.Cloud.Identity.Runtime.dll
Syntax
public class IosPkcePlatformSupport : BasePkcePlatformSupport, IAuthenticationPlatformSupport, IActivatePlatformSupport
Constructors
IosPkcePlatformSupport(IUrlRedirectionInterceptor, IUrlProcessor, IAppIdProvider, IAppNamespaceProvider, string, string)
Declaration
public IosPkcePlatformSupport(IUrlRedirectionInterceptor urlRedirectionInterceptor, IUrlProcessor urlProcessor, IAppIdProvider appIdProvider, IAppNamespaceProvider appNamespaceProvider, string cacheStorePath, string activationUrl = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IUrlRedirectionInterceptor | urlRedirectionInterceptor | |
| IUrlProcessor | urlProcessor | |
| IAppIdProvider | appIdProvider | |
| IAppNamespaceProvider | appNamespaceProvider | |
| string | cacheStorePath | |
| string | activationUrl |
Methods
OpenUrlAndWaitForRedirectAsync(string, List<string>)
Creates an awaitable Task that opens an url in a browser and completes when response is intercepted, validated and returns a Unity.Cloud.AppLinking.UrlRedirectResult.
Declaration
public override Task<UrlRedirectResult> OpenUrlAndWaitForRedirectAsync(string url, List<string> awaitedQueryArguments = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | url | The url to open. It must trigger a redirection to the Uri referenced by GetRedirectUri(string). |
| List<string> | awaitedQueryArguments | The list of query arguments to validate when receiving the awaited callback url. |
Returns
| Type | Description |
|---|---|
| Task<UrlRedirectResult> | A Task that results in a Unity.Cloud.AppLinking.UrlRedirectResult when completed. |
Overrides
Implements
Unity.Cloud.AppLinking.IActivatePlatformSupport