.TH auth 3erl "kernel 7.2" "Ericsson AB" "Erlang Module Definition" .SH NAME auth \- Erlang network authentication server. .SH DESCRIPTION .LP This module is deprecated\&. For a description of the Magic Cookie system, refer to Distributed Erlang in the Erlang Reference Manual\&. .SH DATA TYPES .nf \fBcookie()\fR\& = atom() .br .fi .SH EXPORTS .LP .nf .B cookie() -> Cookie .br .fi .br .RS .LP Types: .RS 3 Cookie = cookie() .br .RE .RE .RS .LP Use \fIerlang:get_cookie()\fR\& in ERTS instead\&. .RE .LP .nf .B cookie(TheCookie) -> true .br .fi .br .RS .LP Types: .RS 3 TheCookie = Cookie | [Cookie] .br .RS 2 The cookie can also be specified as a list with a single atom element\&. .RE Cookie = cookie() .br .RE .RE .RS .LP Use \fIerlang:set_cookie(node(), Cookie)\fR\& in ERTS instead\&. .RE .LP .nf .B is_auth(Node) -> yes | no .br .fi .br .RS .LP Types: .RS 3 Node = node() .br .RE .RE .RS .LP Returns \fIyes\fR\& if communication with \fINode\fR\& is authorized\&. Notice that a connection to \fINode\fR\& is established in this case\&. Returns \fIno\fR\& if \fINode\fR\& does not exist or communication is not authorized (it has another cookie than \fIauth\fR\& thinks it has)\&. .LP Use \fInet_adm:ping(Node)\fR\& instead\&. .RE .LP .B node_cookie([Node, Cookie]) -> yes | no .br .RS .LP Types: .RS 3 Node = node() .br Cookie = \fIcookie()\fR\& .br .RE .RE .RS .LP Equivalent to \fInode_cookie(Node, Cookie)\fR\&\&. .RE .LP .nf .B node_cookie(Node, Cookie) -> yes | no .br .fi .br .RS .LP Types: .RS 3 Node = node() .br Cookie = cookie() .br .RE .RE .RS .LP Sets the magic cookie of \fINode\fR\& to \fICookie\fR\& and verifies the status of the authorization\&. Equivalent to calling \fIerlang:set_cookie(Node, Cookie)\fR\&, followed by \fIauth:is_auth(Node)\fR\&\&. .RE