blob: a558f2991702bf8ee070a36e5d71f251ccf40eee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/* Definitions for the authentication server. */
subsystem auth 25000;
#ifdef AUTH_IMPORTS
AUTH_IMPORTS
#endif
/* Given an authentication handle, return the identification. */
routine auth_getids (
handle: auth_t;
out id: idblock_t);
/* Create a new authentication handle. */
routine auth_makeauth (
handle: auth_t;
id: idblock_t;
out newhandle: auth_t);
/* Called by a user in a reauthentication transaction. The rendezvous
port is used to match the request up with the server's
auth_server_authenticate call. The newport is a port provided by
the server. */
routine auth_user_authenticate (
handle: auth_t;
rendezvous: mach_port_t;
out newport: mach_port_t);
/* Called by a server in a reauthentication transaction. The
rendezvous port is used to match the request up with the user's
auth_user_authenticate call. The newport is passed to the user
through the authentication server. The identification information
is returned. */
routine auth_server_authenticate (
handle: auth_t;
rendezvous: mach_port_t;
newport: mach_port_t;
out id: idblock_t);
|