Interface IFeaturesClient
A client that works with Okta Feature resources.
Namespace: Okta.Sdk
Assembly: Okta.Sdk.dll
Syntax
public interface IFeaturesClient
Methods
GetFeatureAsync(String, CancellationToken)
Success
Declaration
Task<IFeature> GetFeatureAsync(string featureId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.String | featureId | |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IFeature> | The IFeature response. |
ListFeatureDependencies(String)
Success
Declaration
ICollectionClient<IFeature> ListFeatureDependencies(string featureId)
Parameters
Type | Name | Description |
---|---|---|
System.String | featureId |
Returns
Type | Description |
---|---|
ICollectionClient<IFeature> | A collection of IFeature that can be enumerated asynchronously. |
ListFeatureDependents(String)
Success
Declaration
ICollectionClient<IFeature> ListFeatureDependents(string featureId)
Parameters
Type | Name | Description |
---|---|---|
System.String | featureId |
Returns
Type | Description |
---|---|
ICollectionClient<IFeature> | A collection of IFeature that can be enumerated asynchronously. |
ListFeatures()
Success
Declaration
ICollectionClient<IFeature> ListFeatures()
Returns
Type | Description |
---|---|
ICollectionClient<IFeature> | A collection of IFeature that can be enumerated asynchronously. |
UpdateFeatureLifecycleAsync(String, String, String, CancellationToken)
Success
Declaration
Task<IFeature> UpdateFeatureLifecycleAsync(string featureId, string lifecycle, string mode = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.String | featureId | |
System.String | lifecycle | |
System.String | mode | |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IFeature> | The IFeature response. |