Table of Contents

Constructor OidcAccessToken

Namespace
MongoDB.Driver.Authentication.Oidc
Assembly
MongoDB.Driver.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.