Class LinkedObjectsClient
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 LinkedObjectsClient : OktaClient, IOktaClient, ILinkedObjectsClient
Methods
AddLinkedObjectDefinitionAsync(ILinkedObject, CancellationToken)
Success
Declaration
public Task<ILinkedObject> AddLinkedObjectDefinitionAsync(ILinkedObject linkedObject, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
ILinkedObject | linkedObject | The ILinkedObject resource. |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ILinkedObject> | The ILinkedObject response. |
DeleteLinkedObjectDefinitionAsync(String, CancellationToken)
Success
Declaration
public Task DeleteLinkedObjectDefinitionAsync(string linkedObjectName, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.String | linkedObjectName | |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A Task that represents the asynchronous operation. |
GetLinkedObjectDefinitionAsync(String, CancellationToken)
Success
Declaration
public Task<ILinkedObject> GetLinkedObjectDefinitionAsync(string linkedObjectName, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.String | linkedObjectName | |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ILinkedObject> | The ILinkedObject response. |
ListLinkedObjectDefinitions()
Success
Declaration
public ICollectionClient<ILinkedObject> ListLinkedObjectDefinitions()
Returns
Type | Description |
---|---|
ICollectionClient<ILinkedObject> | A collection of ILinkedObject that can be enumerated asynchronously. |