Class AbstractEndpointOptions
- Namespace
- Steeltoe.Management.Endpoint
- Assembly
- Steeltoe.Management.EndpointBase.dll
public abstract class AbstractEndpointOptions : IEndpointOptions
- Inheritance
-
AbstractEndpointOptions
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
AbstractEndpointOptions()
public AbstractEndpointOptions()
AbstractEndpointOptions(string, IConfiguration)
public AbstractEndpointOptions(string sectionName, IConfiguration config)
Parameters
sectionName
stringconfig
IConfiguration
Fields
_enabled
protected bool? _enabled
Field Value
- bool?
_path
protected string _path
Field Value
_sensitive
protected bool? _sensitive
Field Value
- bool?
Properties
DefaultEnabled
public virtual bool DefaultEnabled { get; }
Property Value
DefaultSensitive
[Obsolete("Use Exposure settings instead")]
public virtual bool DefaultSensitive { get; }
Property Value
Enabled
public virtual bool? Enabled { get; set; }
Property Value
- bool?
Global
public IManagementOptions Global { get; set; }
Property Value
Id
public virtual string Id { get; set; }
Property Value
IsEnabled
[Obsolete("Use EndPointExtensions.IsEnabled(IEndpointOptions options, IManagementOptions mgmtOptions) instead")]
public virtual bool IsEnabled { get; }
Property Value
IsSensitive
[Obsolete("Use Exposure Options instead.")]
public virtual bool IsSensitive { get; }
Property Value
Path
public virtual string Path { get; set; }
Property Value
RequiredPermissions
public Permissions RequiredPermissions { get; set; }
Property Value
Sensitive
[Obsolete("Use Exposure Options instead.")]
public virtual bool? Sensitive { get; set; }
Property Value
- bool?
Methods
IsAccessAllowed(Permissions)
public virtual bool IsAccessAllowed(Permissions permissions)
Parameters
permissions
Permissions