table of contents
other versions
- jessie 1:17.3-dfsg-4+deb8u2
- jessie-backports 1:19.2.1+dfsg-2+deb9u1~bpo8+1
- stretch 1:19.2.1+dfsg-2+deb9u2
- testing 1:21.2.5+dfsg-1
- unstable 1:21.2.6+dfsg-1
- experimental 1:22.0~rc1+dfsg-1
auth(3erl) | Erlang Module Definition | auth(3erl) |
NAME¶
auth - Erlang Network Authentication ServerDESCRIPTION¶
This module is deprecated. For a description of the Magic Cookie system, refer to Distributed Erlang in the Erlang Reference Manual.DATA TYPES¶
cookie() = atom()
EXPORTS¶
is_auth(Node) -> yes | no
Types:
Node = node()
Returns yes if communication with Node is authorized. Note that a
connection to Node will be established in this case. Returns no
if Node does not exist or communication is not authorized (it has
another cookie than auth thinks it has).
Use net_adm:ping(Node) instead.
cookie() -> Cookie
Types:
Cookie = cookie()
Use erlang:get_cookie() instead.
cookie(TheCookie) -> true
Types:
TheCookie = Cookie | [Cookie]
The cookie may also be given as a list with a single atom element.
Cookie = cookie()
The cookie may also be given as a list with a single atom element.
Use erlang:set_cookie(node(), Cookie) instead.
node_cookie([Node, Cookie]) -> yes | no
Types:
Node = node()
Cookie = cookie()
Equivalent to node_cookie(Node, Cookie).
node_cookie(Node, Cookie) -> yes | no
Types:
Node = node()
Cookie = cookie()
Sets the magic cookie of Node to Cookie, and verifies the status
of the authorization. Equivalent to calling erlang:set_cookie(Node,
Cookie), followed by auth:is_auth(Node).
kernel 3.0.3 | Ericsson AB |