1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
13 "git.arvados.org/arvados.git/sdk/go/arvados"
16 type pamLoginController struct {
17 Cluster *arvados.Cluster
21 func (ctrl *pamLoginController) Logout(ctx context.Context, opts arvados.LogoutOptions) (arvados.LogoutResponse, error) {
22 return logout(ctx, ctrl.Cluster, opts)
25 func (ctrl *pamLoginController) Login(ctx context.Context, opts arvados.LoginOptions) (arvados.LoginResponse, error) {
26 return arvados.LoginResponse{}, errors.New("interactive login is not available")
29 func (ctrl *pamLoginController) UserAuthenticate(ctx context.Context, opts arvados.UserAuthenticateOptions) (arvados.APIClientAuthorization, error) {
30 return arvados.APIClientAuthorization{}, errors.New("support not available due to static compilation")