summaryrefslogtreecommitdiff
path: root/lib/net/ssh/authentication/constants.rb
blob: 8976aedb67445331e8e8f87a9a776c980b8fef5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module Net
  module SSH
    module Authentication
      # Describes the constants used by the Net::SSH::Authentication components
      # of the Net::SSH library. Individual authentication method implemenations
      # may define yet more constants that are specific to their implementation.
      module Constants
        USERAUTH_REQUEST          = 50
        USERAUTH_FAILURE          = 51
        USERAUTH_SUCCESS          = 52
        USERAUTH_BANNER           = 53

        USERAUTH_PASSWD_CHANGEREQ = 60
        USERAUTH_PK_OK            = 60

        USERAUTH_METHOD_RANGE     = 60..79
      end
    end
  end
end