Class ServiceInfoFactory
Inheritance
System.Object
ServiceInfoFactory
Assembly: Steeltoe.Connector.ConnectorBase.dll
Syntax
public abstract class ServiceInfoFactory : object, IServiceInfoFactory
Constructors
|
Edit this page
View Source
Declaration
protected ServiceInfoFactory(Tags tags, IEnumerable<string> schemes)
Parameters
Type |
Name |
Description |
Tags |
tags |
|
IEnumerable<System.String> |
schemes |
|
|
Edit this page
View Source
Declaration
protected ServiceInfoFactory(Tags tags, string scheme)
Parameters
Type |
Name |
Description |
Tags |
tags |
|
System.String |
scheme |
|
Properties
|
Edit this page
View Source
DefaultUriScheme
Declaration
public virtual string DefaultUriScheme { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
protected Tags ServiceInfoTags { get; set; }
Property Value
|
Edit this page
View Source
UriKeys
Declaration
protected List<string> UriKeys { get; set; }
Property Value
Type |
Description |
List<System.String> |
|
|
Edit this page
View Source
UriSchemes
Declaration
protected IEnumerable<string> UriSchemes { get; set; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
Methods
|
Edit this page
View Source
Accepts(Service)
Declaration
public virtual bool Accepts(Service binding)
Parameters
Type |
Name |
Description |
Service |
binding |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Create(Service)
Declaration
public abstract IServiceInfo Create(Service binding)
Parameters
Type |
Name |
Description |
Service |
binding |
|
Returns
|
Edit this page
View Source
GetAccessTokenUriFromCredentials(Dictionary<String, Credential>)
Declaration
protected virtual string GetAccessTokenUriFromCredentials(Dictionary<string, Credential> credentials)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetBoolFromCredentials(Dictionary<String, Credential>, String)
Declaration
protected virtual bool GetBoolFromCredentials(Dictionary<string, Credential> credentials, string key)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
GetClientIdFromCredentials(Dictionary<String, Credential>)
Declaration
protected virtual string GetClientIdFromCredentials(Dictionary<string, Credential> credentials)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetClientSecretFromCredentials(Dictionary<String, Credential>)
Declaration
protected virtual string GetClientSecretFromCredentials(Dictionary<string, Credential> credentials)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetHostFromCredentials(Dictionary<String, Credential>)
Declaration
protected virtual string GetHostFromCredentials(Dictionary<string, Credential> credentials)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetIntFromCredentials(Dictionary<String, Credential>, List<String>)
Declaration
protected virtual int GetIntFromCredentials(Dictionary<string, Credential> credentials, List<string> keys)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
List<System.String> |
keys |
|
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
GetIntFromCredentials(Dictionary<String, Credential>, String)
Declaration
protected virtual int GetIntFromCredentials(Dictionary<string, Credential> credentials, string key)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
System.String |
key |
|
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
GetListFromCredentials(Dictionary<String, Credential>, String)
Declaration
protected virtual List<string> GetListFromCredentials(Dictionary<string, Credential> credentials, string key)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
System.String |
key |
|
Returns
Type |
Description |
List<System.String> |
|
|
Edit this page
View Source
GetPasswordFromCredentials(Dictionary<String, Credential>)
Declaration
protected virtual string GetPasswordFromCredentials(Dictionary<string, Credential> credentials)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetPortFromCredentials(Dictionary<String, Credential>)
Declaration
protected virtual int GetPortFromCredentials(Dictionary<string, Credential> credentials)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
GetStringFromCredentials(Dictionary<String, Credential>, List<String>)
Declaration
protected virtual string GetStringFromCredentials(Dictionary<string, Credential> credentials, List<string> keys)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
List<System.String> |
keys |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetStringFromCredentials(Dictionary<String, Credential>, String)
Declaration
protected virtual string GetStringFromCredentials(Dictionary<string, Credential> credentials, string key)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetTlsPortFromCredentials(Dictionary<String, Credential>)
Declaration
protected virtual int GetTlsPortFromCredentials(Dictionary<string, Credential> credentials)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
GetUriFromCredentials(Dictionary<String, Credential>)
Declaration
protected virtual string GetUriFromCredentials(Dictionary<string, Credential> credentials)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetUsernameFromCredentials(Dictionary<String, Credential>)
Declaration
protected virtual string GetUsernameFromCredentials(Dictionary<string, Credential> credentials)
Parameters
Type |
Name |
Description |
Dictionary<System.String, Credential> |
credentials |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
LabelStartsWithTag(Service)
Declaration
protected virtual bool LabelStartsWithTag(Service binding)
Parameters
Type |
Name |
Description |
Service |
binding |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
protected virtual bool TagsMatch(Service binding)
Parameters
Type |
Name |
Description |
Service |
binding |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
UriKeyMatchesScheme(Service)
Declaration
protected virtual bool UriKeyMatchesScheme(Service binding)
Parameters
Type |
Name |
Description |
Service |
binding |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
UriMatchesScheme(Service)
Declaration
protected virtual bool UriMatchesScheme(Service binding)
Parameters
Type |
Name |
Description |
Service |
binding |
|
Returns
Type |
Description |
System.Boolean |
|
Implements