Class AuthorizerServiceClientBase
Base class with default configurations for all services of microservice authorizer.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StoneCo.TransRep.Authorizer.Host.Client.Base
Assembly: cs.temp.dll.dll
Syntax
public class AuthorizerServiceClientBase
Constructors
AuthorizerServiceClientBase(IOptionsSnapshot<AuthorizerServiceClientOptions>, IHttpRestServiceClient)
Default constructor base to set options and HttpRestServiceClient.
Declaration
protected AuthorizerServiceClientBase(IOptionsSnapshot<AuthorizerServiceClientOptions> options, IHttpRestServiceClient httpRestServiceClient)
Parameters
Type | Name | Description |
---|---|---|
IOptionsSnapshot<AuthorizerServiceClientOptions> | options | The options design pattern used in AuthorizerServiceClient. |
IHttpRestServiceClient | httpRestServiceClient | Interface with the default methods and properties to be used for all HTTP Rest calls. |
Properties
ApplicationName
The name of the application that uses this client, identifying the origin of the calls.
Declaration
protected string ApplicationName { get; }
Property Value
Type | Description |
---|---|
System.String | Cron Job - Import |
AuthorizationToken
Key to authorize request on Microservices.
Declaration
protected string AuthorizationToken { get; }
Property Value
Type | Description |
---|---|
System.String | a07f5aa4d2654c0e91412ee7025de133 |
HttpRestServiceClient
Interface with the default methods and properties to be used for all HTTP Rest calls.
Declaration
protected IHttpRestServiceClient HttpRestServiceClient { get; }
Property Value
Type | Description |
---|---|
IHttpRestServiceClient | Instance of HttpRestServiceClient |
Options
The options design pattern used in AuthorizerServiceClient.
Declaration
protected IOptionsSnapshot<AuthorizerServiceClientOptions> Options { get; }
Property Value
Type | Description |
---|---|
IOptionsSnapshot<AuthorizerServiceClientOptions> | Instance of AuthorizerServiceClientOptions |