Class EventHook
Represents a resource in the Okta API.
Inheritance
System.Object
EventHook
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()
Assembly: Okta.Sdk.dll
Syntax
public sealed class EventHook : Resource, IEventHook, IResource
Properties
Channel
Declaration
public IEventHookChannel Channel { get; set; }
Property Value
Created
Declaration
public DateTimeOffset? Created { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
CreatedBy
Declaration
public string CreatedBy { get; set; }
Property Value
Type |
Description |
System.String |
|
Events
Declaration
public IEventSubscriptions Events { get; set; }
Property Value
Id
Declaration
public string Id { get; }
Property Value
Type |
Description |
System.String |
|
LastUpdated
Declaration
public DateTimeOffset? LastUpdated { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Status
Declaration
public string Status { get; set; }
Property Value
Type |
Description |
System.String |
|
VerificationStatus
Declaration
public string VerificationStatus { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
ActivateAsync(CancellationToken)
Declaration
public Task<IEventHook> ActivateAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IEventHook> |
|
DeactivateAsync(CancellationToken)
Declaration
public Task<IEventHook> DeactivateAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IEventHook> |
|
VerifyAsync(CancellationToken)
Declaration
public Task<IEventHook> VerifyAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IEventHook> |
|
Implements