1auth(3)                    Erlang Module Definition                    auth(3)
2
3
4

NAME

6       auth - Erlang network authentication server.
7

DESCRIPTION

9       This  module  is deprecated. For a description of the Magic Cookie sys‐
10       tem, refer to Distributed Erlang in the Erlang Reference Manual.
11

DATA TYPES

13       cookie() = atom()
14

EXPORTS

16       cookie() -> Cookie
17
18              Types:
19
20                 Cookie = cookie()
21
22              Use erlang:get_cookie() in ERTS instead.
23
24       cookie(TheCookie) -> true
25
26              Types:
27
28                 TheCookie = Cookie | [Cookie]
29                    The cookie can also be specified as a list with  a  single
30                   atom element.
31                 Cookie = cookie()
32
33              Use erlang:set_cookie(node(), Cookie) in ERTS instead.
34
35       is_auth(Node) -> yes | no
36
37              Types:
38
39                 Node = node()
40
41              Returns  yes  if  communication  with Node is authorized. Notice
42              that a connection to Node is established in this  case.  Returns
43              no if Node does not exist or communication is not authorized (it
44              has another cookie than auth thinks it has).
45
46              Use net_adm:ping(Node) instead.
47
48       node_cookie([Node, Cookie]) -> yes | no
49
50              Types:
51
52                 Node = node()
53                 Cookie = cookie()
54
55              Equivalent to node_cookie(Node, Cookie).
56
57       node_cookie(Node, Cookie) -> yes | no
58
59              Types:
60
61                 Node = node()
62                 Cookie = cookie()
63
64              Sets the magic cookie of Node to Cookie and verifies the  status
65              of      the     authorization.     Equivalent     to     calling
66              erlang:set_cookie(Node, Cookie), followed by auth:is_auth(Node).
67
68
69
70Ericsson AB                      kernel 6.5.2                          auth(3)
Impressum