blob: 55caa28445d23b4868c63750926d6eeca9bc6dcc [file] [log] [blame]
Don Newton379ae252019-04-01 12:17:06 -04001// 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//+build gssapi,!windows,!linux,!darwin
8
9package auth
10
11import (
12 "fmt"
13 "runtime"
14)
15
16// GSSAPI is the mechanism name for GSSAPI.
17const GSSAPI = "GSSAPI"
18
19func newGSSAPIAuthenticator(cred *Cred) (Authenticator, error) {
20 return nil, newAuthError(fmt.Sprintf("GSSAPI is not supported on %s", runtime.GOOS), nil)
21}