...

Source file src/go.mongodb.org/mongo-driver/x/mongo/driver/auth/cred.go

Documentation: go.mongodb.org/mongo-driver/x/mongo/driver/auth

     1  // Copyright (C) MongoDB, Inc. 2017-present.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License"); you may
     4  // not use this file except in compliance with the License. You may obtain
     5  // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
     6  
     7  package auth
     8  
     9  // Cred is a user's credential.
    10  type Cred struct {
    11  	Source      string
    12  	Username    string
    13  	Password    string
    14  	PasswordSet bool
    15  	Props       map[string]string
    16  }
    17  

View as plain text