summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1991-04-18 19:44:32 +0000
committerMichael I. Bushnell <mib@gnu.org>1991-04-18 19:44:32 +0000
commit71dde48a97b9ad5384b8625a22b59443174716eb (patch)
tree79b73a5e439897a998142b25af14c2d3081162d9 /hurd
parentd0a0f7e1ec5245ff6db575f987ef16cad9a78958 (diff)
Initial revision
Diffstat (limited to 'hurd')
-rw-r--r--hurd/auth.defs40
1 files changed, 40 insertions, 0 deletions
diff --git a/hurd/auth.defs b/hurd/auth.defs
new file mode 100644
index 00000000..a558f299
--- /dev/null
+++ b/hurd/auth.defs
@@ -0,0 +1,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);
+
+