Class PlatformSupportFactory
A static factory that handles instantiation of platform-specific IActivatePlatformSupport and IAuthenticationPlatformSupport.
Inherited Members
Namespace: Unity.Cloud.Identity.Runtime
Syntax
public static class PlatformSupportFactory
Methods
GetAuthenticationPlatformSupport(IUrlRedirectionInterceptor, IAppIdProvider, IAppNameProvider, String)
A static factory that handles instantiation of a platform-specific IAuthenticationPlatformSupport.
Declaration
public static IAuthenticationPlatformSupport GetAuthenticationPlatformSupport(IUrlRedirectionInterceptor urlRedirectionInterceptor = null, IAppIdProvider appIdProvider = null, IAppNameProvider appNameProvider = null, string cacheStorePath = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IUrlRedirectionInterceptor | urlRedirectionInterceptor | An optional IUrlRedirectionInterceptor instance. If not set, the IAuthenticationPlatformSupport instance generated will use default internal implementation. |
| IAppIdProvider | appIdProvider | |
| IAppNameProvider | appNameProvider | |
| String | cacheStorePath |
Returns
| Type | Description |
|---|---|
| IAuthenticationPlatformSupport | A platform-specific IAuthenticationPlatformSupport instance. |
Exceptions
| Type | Condition |
|---|---|
| NotImplementedException | Throws a NotImplementedException if current execution platform cannot be determined. |