Class InlineHook
Represents a resource in the Okta API.
Inheritance
System.Object
InlineHook
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 InlineHook : Resource, IInlineHook, IResource
Properties
Channel
Declaration
public IInlineHookChannel Channel { get; set; }
Property Value
Created
Declaration
public DateTimeOffset? Created { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
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 InlineHookStatus Status { get; set; }
Property Value
Type
Declaration
public InlineHookType Type { get; set; }
Property Value
Version
Declaration
public string Version { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
ActivateAsync(CancellationToken)
Declaration
public Task<IInlineHook> ActivateAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IInlineHook> |
|
DeactivateAsync(CancellationToken)
Declaration
public Task<IInlineHook> DeactivateAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IInlineHook> |
|
ExecuteAsync(IInlineHookPayload, CancellationToken)
Declaration
public Task<IInlineHookResponse> ExecuteAsync(IInlineHookPayload payloadData, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
IInlineHookPayload |
payloadData |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Implements