Lines Matching full:auth
1 /* $NetBSD: auth.h,v 1.15 2000/06/02 22:57:55 fvdl Exp $ */
34 * auth.h, Authentication interface.
39 * is required to pass an AUTH * to routines that create rpc
167 enum_t oa_flavor; /* flavor of auth */
168 caddr_t oa_base; /* address of more auth stuff */
174 * Auth handle, interface to client side authenticators.
193 } AUTH; typedef
198 * The ops and the auth handle provide the interface to the authenticators.
200 * AUTH *auth;
204 #define AUTH_NEXTVERF(auth) \ argument
205 ((*((auth)->ah_ops->ah_nextverf))(auth))
206 #define auth_nextverf(auth) \ argument
207 ((*((auth)->ah_ops->ah_nextverf))(auth))
209 #define AUTH_MARSHALL(auth, xdrs) \ argument
210 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
211 #define auth_marshall(auth, xdrs) \ argument
212 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
214 #define AUTH_VALIDATE(auth, verfp) \ argument
215 ((*((auth)->ah_ops->ah_validate))((auth), verfp))
216 #define auth_validate(auth, verfp) \ argument
217 ((*((auth)->ah_ops->ah_validate))((auth), verfp))
219 #define AUTH_REFRESH(auth, msg) \ argument
220 ((*((auth)->ah_ops->ah_refresh))(auth, msg))
221 #define auth_refresh(auth, msg) \ argument
222 ((*((auth)->ah_ops->ah_refresh))(auth, msg))
224 #define AUTH_DESTROY(auth) \ argument
225 ((*((auth)->ah_ops->ah_destroy))(auth))
226 #define auth_destroy(auth) \ argument
227 ((*((auth)->ah_ops->ah_destroy))(auth))
240 * AUTH *authunix_create(machname, uid, gid, len, aup_gids)
248 extern AUTH *authunix_create(char *, u_int, u_int, int, u_int *);
249 extern AUTH *authunix_create_default(void); /* takes no parameters */
250 extern AUTH *authnone_create(void); /* takes no parameters */
254 * AUTH *authsecdes_create(servername, window, timehost, ckey)
261 extern AUTH *authdes_create (char *, u_int, struct sockaddr *, des_block *);
262 extern AUTH *authdes_seccreate (const char *, const u_int, const char *,
311 * AUTH *authkerb_seccreate(service, srv_inst, realm, window, timehost, status)
320 extern AUTH *authkerb_seccreate(const char *, const char *, const char *,
360 * Pseudo auth flavors for RPCSEC_GSS.