Table of Contents

Class AuthTokenAndExpiration

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

Represents an auth token and its expiration.

public record AuthTokenAndExpiration : IEquatable<AuthTokenAndExpiration>
Inheritance
AuthTokenAndExpiration
Implements
Inherited Members
Extension Methods

Constructors

AuthTokenAndExpiration(IAuthToken, int)

Initializes a new instance of AuthTokenAndExpiration.

AuthTokenAndExpiration(IAuthToken, DateTime?)

Initializes a new instance of AuthTokenAndExpiration.

Properties

Expiry

The date and time when the token expires.

Token

The auth token.

Methods

Deconstruct(out IAuthToken, out DateTime?)

Deconstructs the AuthTokenAndExpiration into its components.