Method CreateOidcCredential
CreateOidcCredential(IOidcCallback, string)
Creates a credential used with MONGODB-OIDC.
public static MongoCredential CreateOidcCredential(IOidcCallback callback, string principalName = null)
Parameters
callback
IOidcCallback The OIDC callback.
principalName
stringThe principal name.
Returns
- Mongo
Credential The OIDC credential.
CreateOidcCredential(string, string)
Creates a credential used with MONGODB-OIDC.
Parameters
Returns
- Mongo
Credential The OIDC credential.