19962013 Ericsson AB. All Rights Reserved. The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. auth
auth Erlang Network Authentication Server

This module is deprecated. For a description of the Magic Cookie system, refer to Distributed Erlang in the Erlang Reference Manual.

Status of communication authorization (deprecated)

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.

Magic cookie for local node (deprecated)

Use erlang:get_cookie() instead.

Set the magic for the local node (deprecated) 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 Set the magic cookie for a node and verify authorization (deprecated) Node = node() Cookie = cookie()

Equivalent to node_cookie(Node, Cookie).

Set the magic cookie for a node and verify authorization (deprecated)

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).