summaryrefslogtreecommitdiff
path: root/lib/net/ssh/authentication/constants.rb
blob: 911b9ca44c4bed02b39ba6310d8da6f7a5e94bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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