Struct ServiceConnector
A struct holding authenticated services references.
Inherited Members
Namespace: Unity.Cloud.Identity
Assembly: Unity.Cloud.Identity.dll
Syntax
public struct ServiceConnector
Constructors
ServiceConnector(CompositeAuthenticatorSettings, IServiceHostResolver, IHttpClient, IAppIdProvider)
Create a ServiceConnector class holding authenticated services references.
Declaration
public ServiceConnector(CompositeAuthenticatorSettings compositeAuthenticatorSettings, IServiceHostResolver serviceHostResolver, IHttpClient httpClient, IAppIdProvider appIdProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| CompositeAuthenticatorSettings | compositeAuthenticatorSettings | A built CompositeAuthenticatorSettings to inject in the CompositeAuthenticator. |
| IServiceHostResolver | serviceHostResolver | A IServiceHostResolver instance. |
| IHttpClient | httpClient | A IHttpClient instance. |
| IAppIdProvider | appIdProvider | A IAppIdProvider instance. |
Fields
CompositeAuthenticator
The resolved ICompositeAuthenticator instance.
Declaration
public readonly ICompositeAuthenticator CompositeAuthenticator
Field Value
| Type | Description |
|---|---|
| ICompositeAuthenticator |
ServiceHostResolver
The resolved IServiceHostResolver instance.
Declaration
public readonly IServiceHostResolver ServiceHostResolver
Field Value
| Type | Description |
|---|---|
| IServiceHostResolver |
ServiceHttpClient
Create a IServiceHttpClient class holding authenticated services references.
Declaration
public readonly IServiceHttpClient ServiceHttpClient
Field Value
| Type | Description |
|---|---|
| IServiceHttpClient |