Class PlatformSupportFactory
A static factory that handles instantiation of platform-specific IActivatePlatformSupport and IAuthenticationPlatformSupport.
Inherited Members
Namespace: Unity.Cloud.Identity.Runtime
Assembly: Unity.Cloud.Identity.Runtime.dll
Syntax
public static class PlatformSupportFactory
Methods
GetAuthenticationPlatformSupport(IUrlRedirectionInterceptor, IAppIdProvider, IAppNamespaceProvider, string)
A static factory that handles instantiation of a platform-specific IAuthenticationPlatformSupport.
Declaration
public static IAuthenticationPlatformSupport GetAuthenticationPlatformSupport(IUrlRedirectionInterceptor urlRedirectionInterceptor = null, IAppIdProvider appIdProvider = null, IAppNamespaceProvider appNamespaceProvider = null, string cacheStorePath = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IUrlRedirectionInterceptor | urlRedirectionInterceptor | An optional Unity.Cloud.AppLinking.IUrlRedirectionInterceptor instance. |
| IAppIdProvider | appIdProvider | An optional IAppIdProvider instance. |
| IAppNamespaceProvider | appNamespaceProvider | An optional IAppNamespaceProvider instance. |
| string | cacheStorePath | An optional full path to a readable/writable directory. |
Returns
| Type | Description |
|---|---|
| IAuthenticationPlatformSupport | A platform-specific IAuthenticationPlatformSupport instance. |
Exceptions
| Type | Condition |
|---|---|
| NotImplementedException | Throws a NotImplementedException if current execution platform cannot be determined. |