API version:
Show / Hide Table of Contents

Class EventHooksClient

A client that communicates with the Okta management API.

Inheritance
System.Object
OktaClient
EventHooksClient
Implements
IOktaClient
IEventHooksClient
Inherited Members
OktaClient.Configuration
OktaClient.CreateScoped(RequestContext)
OktaClient.UserTypes
OktaClient.Users
OktaClient.UserFactors
OktaClient.Groups
OktaClient.Applications
OktaClient.Sessions
OktaClient.AuthorizationServers
OktaClient.Logs
OktaClient.Policies
OktaClient.EventHooks
OktaClient.InlineHooks
OktaClient.LinkedObjects
OktaClient.TrustedOrigins
OktaClient.Features
OktaClient.Templates
OktaClient.NetworkZones
OktaClient.Domains
OktaClient.IdentityProviders
OktaClient.UserSchemas
OktaClient.GetCollectionClient<T>(HttpRequest)
OktaClient.GetAsync<T>(String, CancellationToken)
OktaClient.GetAsync<T>(HttpRequest, CancellationToken)
OktaClient.GetCollection<T>(String)
OktaClient.GetCollection<T>(HttpRequest)
OktaClient.PostAsync(String, Object, CancellationToken)
OktaClient.PostAsync<TResponse>(String, Object, CancellationToken)
OktaClient.PostAsync(HttpRequest, CancellationToken)
OktaClient.PostAsync<TResponse>(HttpRequest, CancellationToken)
OktaClient.PutAsync(String, Object, CancellationToken)
OktaClient.PutAsync<TResponse>(String, Object, CancellationToken)
OktaClient.PutAsync(HttpRequest, CancellationToken)
OktaClient.PutAsync<TResponse>(HttpRequest, CancellationToken)
OktaClient.DeleteAsync(String, CancellationToken)
OktaClient.DeleteAsync(HttpRequest, CancellationToken)
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 EventHooksClient : OktaClient, IOktaClient, IEventHooksClient

Methods

ActivateEventHookAsync(String, CancellationToken)

Success

Declaration
public Task<IEventHook> ActivateEventHookAsync(string eventHookId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.String eventHookId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<IEventHook>

The IEventHook response.

CreateEventHookAsync(IEventHook, CancellationToken)

Success

Declaration
public Task<IEventHook> CreateEventHookAsync(IEventHook eventHook, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
IEventHook eventHook

The IEventHook resource.

System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<IEventHook>

The IEventHook response.

DeactivateEventHookAsync(String, CancellationToken)

Success

Declaration
public Task<IEventHook> DeactivateEventHookAsync(string eventHookId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.String eventHookId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<IEventHook>

The IEventHook response.

DeleteEventHookAsync(String, CancellationToken)

Success

Declaration
public Task DeleteEventHookAsync(string eventHookId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.String eventHookId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task

A Task that represents the asynchronous operation.

GetEventHookAsync(String, CancellationToken)

Success

Declaration
public Task<IEventHook> GetEventHookAsync(string eventHookId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.String eventHookId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<IEventHook>

The IEventHook response.

ListEventHooks()

Success

Declaration
public ICollectionClient<IEventHook> ListEventHooks()
Returns
Type Description
ICollectionClient<IEventHook>

A collection of IEventHook that can be enumerated asynchronously.

UpdateEventHookAsync(IEventHook, String, CancellationToken)

Success

Declaration
public Task<IEventHook> UpdateEventHookAsync(IEventHook eventHook, string eventHookId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
IEventHook eventHook

The IEventHook resource.

System.String eventHookId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<IEventHook>

The IEventHook response.

VerifyEventHookAsync(String, CancellationToken)

Success

Declaration
public Task<IEventHook> VerifyEventHookAsync(string eventHookId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.String eventHookId
System.Threading.CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<IEventHook>

The IEventHook response.

Implements

IOktaClient
IEventHooksClient
Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.