...

Source file src/go.mongodb.org/mongo-driver/x/mongo/driver/auth/gssapi_not_enabled.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  //go:build !gssapi
     8  // +build !gssapi
     9  
    10  package auth
    11  
    12  // GSSAPI is the mechanism name for GSSAPI.
    13  const GSSAPI = "GSSAPI"
    14  
    15  func newGSSAPIAuthenticator(*Cred) (Authenticator, error) {
    16  	return nil, newAuthError("GSSAPI support not enabled during build (-tags gssapi)", nil)
    17  }
    18  

View as plain text