Click or drag to resize

ITokenSetter Interface

Defines a contract implemented by classes taking care of the 1st step when building configuration - setting the token

Namespace: Sportradar.OddsFeed.SDK.API
Assembly: Sportradar.OddsFeed.SDK.API (in Sportradar.OddsFeed.SDK.API.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
public interface ITokenSetter

The ITokenSetter type exposes the following members.

Methods
 NameDescription
Public methodBuildFromConfigFile Gets the configuration properties from configuration file. Any values already set by methods on the current instance are overridden. Builds and returns a IOddsFeedConfiguration instance.
Public methodSetAccessToken Sets the access token used to access feed resources (AMQP broker, Sports API, ...)
Public methodSetAccessTokenFromConfigFile Sets the access token used to access feed resources (AMQP broker, Sports API, ...) to value read from configuration file
Top
See Also