Table of Contents

Class ScormClientFactory

Namespace
Shift.Common.Scorm
Assembly
Shift.Common.dll
public class ScormClientFactory : IHttpClientFactory
Inheritance
ScormClientFactory
Implements
Inherited Members
Extension Methods

Constructors

ScormClientFactory(string, string, string)

public ScormClientFactory(string apiUrl, string user, string password)

Parameters

apiUrl string
user string
password string

Properties

ApiUrl

public Uri ApiUrl { get; set; }

Property Value

Uri

Password

public string Password { get; set; }

Property Value

string

UserName

public string UserName { get; set; }

Property Value

string

Methods

AddAuthorizationHeader(string, string)

public void AddAuthorizationHeader(string name, string value)

Parameters

name string
value string

Create()

public HttpClient Create()

Returns

HttpClient

GetAuthorizationParameter()

public string GetAuthorizationParameter()

Returns

string

GetBaseAddress()

public Uri GetBaseAddress()

Returns

Uri

GetSecret()

public string GetSecret()

Returns

string

SetAuthenticationHeader(string, string)

public void SetAuthenticationHeader(string scheme, string parameter)

Parameters

scheme string
parameter string