Table of Contents

Constructor OidcAccessToken

Namespace
MongoDB.Driver.Core.Authentication.Oidc
Assembly
MongoDB.Driver.Core.dll

OidcAccessToken(string, TimeSpan?)

Initializes a new instance of the OidcAccessToken class.

public OidcAccessToken(string accessToken, TimeSpan? expiresIn)

Parameters

accessToken string

OIDC Access Token string.

expiresIn TimeSpan?

Expiration duration for the Access Token.