Table of Contents

Class AuthenticationRotatedEventArgs

Namespace
Excalibur.Data.ElasticSearch.Security
Assembly
Excalibur.Data.ElasticSearch.dll

Provides data for the CredentialsRotated event.

public sealed class AuthenticationRotatedEventArgs : EventArgs
Inheritance
AuthenticationRotatedEventArgs
Inherited Members

Remarks

Initializes a new instance of the AuthenticationRotatedEventArgs class.

Constructors

AuthenticationRotatedEventArgs(ElasticsearchAuthenticationType, DateTimeOffset, DateTimeOffset?)

Provides data for the CredentialsRotated event.

public AuthenticationRotatedEventArgs(ElasticsearchAuthenticationType authenticationType, DateTimeOffset rotatedAt, DateTimeOffset? nextRotationDue)

Parameters

authenticationType ElasticsearchAuthenticationType

The type of authentication that was rotated.

rotatedAt DateTimeOffset

The timestamp when the rotation occurred.

nextRotationDue DateTimeOffset?

The timestamp when the next rotation is due.

Remarks

Initializes a new instance of the AuthenticationRotatedEventArgs class.

Properties

AuthenticationType

Gets the type of authentication that was rotated.

public ElasticsearchAuthenticationType AuthenticationType { get; }

Property Value

ElasticsearchAuthenticationType

The authentication method that underwent credential rotation.

NextRotationDue

Gets the timestamp when the next rotation is due.

public DateTimeOffset? NextRotationDue { get; }

Property Value

DateTimeOffset?

The UTC timestamp for the next scheduled rotation, or null if not applicable.

RotatedAt

Gets the timestamp when the rotation occurred.

public DateTimeOffset RotatedAt { get; }

Property Value

DateTimeOffset

The UTC timestamp of the credential rotation.