Class WindowsPkcePlatformSupport
This class handles Windows standalone platform-specific features in the authentication flow.
Inheritance
WindowsPkcePlatformSupport
Inherited Members
Namespace: Unity.Cloud.Identity.Runtime
Assembly: solution.dll
Syntax
public class WindowsPkcePlatformSupport : WindowsActivatePlatformSupport, IAuthenticationPlatformSupport, IActivatePlatformSupport
Constructors
WindowsPkcePlatformSupport(IUrlRedirectionInterceptor, IUrlProcessor, IAppIdProvider, IAppNamespaceProvider, string, string)
Creates a BasePkcePlatformSupport that handles app activation from an url or key value pairs.
Declaration
public WindowsPkcePlatformSupport(IUrlRedirectionInterceptor urlRedirectionInterceptor, IUrlProcessor urlProcessor, IAppIdProvider appIdProvider, IAppNamespaceProvider appNamespaceProvider, string cacheStorePath, string activationUrl = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IUrlRedirectionInterceptor | urlRedirectionInterceptor | An IUrlRedirectionInterceptor that manages url redirection interception. |
| IUrlProcessor | urlProcessor | An IUrlProcessor that manages url processing after interception. |
| IAppIdProvider | appIdProvider | An IAppIdProvider instance. |
| IAppNamespaceProvider | appNamespaceProvider | An IAppNamespaceProvider instance. |
| string | cacheStorePath | A full path to a readable/writable directory. |
| string | activationUrl | An optional activation URL. |
Methods
GetAppStateOverride()
Get a string value override for the default random state used in the authentication flow.
Declaration
public override string GetAppStateOverride()
Returns
| Type | Description |
|---|---|
| string | A string value corresponding to the main window pointer of the app. |