table of contents
- bullseye 1:23.2.6+dfsg-1+deb11u1
- testing 1:25.2.3+dfsg-1
- unstable 1:25.2.3+dfsg-1
- experimental 1:26.0.1+dfsg-1
auth(3erl) | Erlang Module Definition | auth(3erl) |
NAME¶
auth - Erlang network authentication server.
DESCRIPTION¶
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¶
cookie() -> Cookie
Types:
Use erlang:get_cookie() in ERTS instead.
cookie(TheCookie) -> true
Types:
The cookie can also be specified as a list with a single atom element.
Use erlang:set_cookie(node(), Cookie) in ERTS instead.
is_auth(Node) -> yes | no
Types:
Returns yes if communication with Node is authorized. Notice that a connection to Node is 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.
node_cookie([Node, Cookie]) -> yes | no
Types:
Cookie = cookie()
Equivalent to node_cookie(Node, Cookie).
node_cookie(Node, Cookie) -> yes | no
Types:
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 7.2 | Ericsson AB |