Class FeaturesClient
A client that communicates with the Okta management API.
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.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk
Assembly: Okta.Sdk.dll
Syntax
public sealed class FeaturesClient : OktaClient, IOktaClient, IFeaturesClient
Methods
GetFeatureAsync(String, CancellationToken)
Success
Declaration
public 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
public 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
public 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
public ICollectionClient<IFeature> ListFeatures()
Returns
Type | Description |
---|---|
ICollectionClient<IFeature> | A collection of IFeature that can be enumerated asynchronously. |
UpdateFeatureLifecycleAsync(String, String, String, CancellationToken)
Success
Declaration
public 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. |