| 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 authscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/x/mongo/driver/auth`/ |
| 11 | |
| 12 | import "net/httpscip-go gomod github.com/golang/go/src go1.18 `net/http`/" |
| 13 | |
| 14 | // GSSAPI is the mechanism name for GSSAPI. |
| 15 | const GSSAPIscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/x/mongo/driver/auth`/GSSAPI. = "GSSAPI" |
| 16 | |
| 17 | func newGSSAPIAuthenticatorscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/x/mongo/driver/auth`/newGSSAPIAuthenticator().(*Credscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/x/mongo/driver/auth`/Cred#, *httpscip-go gomod github.com/golang/go/src go1.18 `net/http`/.Clientscip-go gomod github.com/golang/go/src go1.18 `net/http`/Client#) (Authenticatorscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/x/mongo/driver/auth`/Authenticator#, error) { |
| 18 | return nil, newAuthErrorscip-go gomod go.mongodb.org/mongo-driver . `go.mongodb.org/mongo-driver/x/mongo/driver/auth`/newAuthError().("GSSAPI support not enabled during build (-tags gssapi)", nil) |
| 19 | } |