Class RestApiClientFactory
Defines a client factory that creates clients that communicates using the Rest APi
Inheritance
System.Object
RestApiClientFactory
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Client
Assembly: ImageVault.Client.dll
Syntax
public class RestApiClientFactory : IClientFactory
Constructors
RestApiClientFactory()
Declaration
public RestApiClientFactory()
Properties
ClaimTypeRemapper
Remapper for the RestApiClientFactory. If not set, the DefaultClaimTypeRemapper is used.
Declaration
public ClaimTypeRemapper ClaimTypeRemapper { get; set; }
Property Value
Type | Description |
---|---|
ClaimTypeRemapper |
DefaultClaimTypeRemapper
Default remapper for the RestApiClientFactory. Changes to this instance will effect all RestApiClientFactory that don't specifically sets an own ClaimTypeRemapper
Declaration
public static ClaimTypeRemapper DefaultClaimTypeRemapper { get; }
Property Value
Type | Description |
---|---|
ClaimTypeRemapper |
Methods
GetCurrentUserClient()
Returns a client that uses the current user credentials
Declaration
public Client GetCurrentUserClient()
Returns
Type | Description |
---|---|
Client |
GetSdkClient()
returns a client that uses the sdk user credentials
Declaration
public Client GetSdkClient()
Returns
Type | Description |
---|---|
Client |