Class PlatformSupportFactory
A static factory that handles instanciation of platform-specific IActivatePlatformSupport and IPkcePlatformSupport.
Inherited Members
Namespace: Unity.DigitalTwins.Identity.Runtime
Assembly: solution.dll
Syntax
public static class PlatformSupportFactory
Methods
GetActivatePlatformSupport()
A static factory that handles instanciation of a platform-specific IActivatePlatformSupport.
Declaration
public static IActivatePlatformSupport GetActivatePlatformSupport()
Returns
Type | Description |
---|---|
IActivatePlatformSupport | A platform-specific IActivatePlatformSupport instance. |
Exceptions
Type | Condition |
---|---|
NotImplementedException | Throws a NotImplementedException if current execution platform cannot be determined. |
GetPkcePlatformSupport(IUrlRedirectionInterceptor)
A static factory that handles instanciation of a platform-specific IPkcePlatformSupport.
Declaration
public static IPkcePlatformSupport GetPkcePlatformSupport(IUrlRedirectionInterceptor urlRedirectionInterceptor = null)
Parameters
Type | Name | Description |
---|---|---|
Unity.DigitalTwins.Common.IUrlRedirectionInterceptor | urlRedirectionInterceptor | An optional IUrlRedirectionInterceptor instance that will be used in the authentication flow. If not set, the IPkcePlatformSupport instance generated will use default internal implementation. |
Returns
Type | Description |
---|---|
IPkcePlatformSupport | A platform-specific IPkcePlatformSupport instance. |
Exceptions
Type | Condition |
---|---|
NotImplementedException | Throws a NotImplementedException if current execution platform cannot be determined. |