irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

osauth.h
Go to the documentation of this file.
1 
3 /* definitions for osauth routines */
4 
5 #ifndef OS_AUTH_H__
6 #define OS_AUTH_H__
7 
8 
9 #define OS_AUTH_CMD "var/lib/irods/clients/bin/genOSAuth"
10 #define OS_AUTH_ENV_USER "OSAUTH_USERNAME"
11 #define OS_AUTH_KEYFILE "etc/irods/irods.key"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 int osauthGetAuth( char *challenge, char *username, char *authenticator, int authenticator_buflen );
18 int osauthVerifyResponse( char *challenge, char *username, char *response );
19 int osauthGetKey( char **key, int *key_len );
20 int osauthGetUid( char *username );
21 int osauthGetUsername( char *username, int username_len );
22 int osauthGenerateAuthenticator( char *username, int uid, char *challenge, char *key,
23  int key_len, char *authenticator, int authenticator_len );
24 #ifdef __cplusplus
25 }
26 #endif
27 
28 #endif // OS_AUTH_H__
osauthGetUid
int osauthGetUid(char *username)
Definition: osauth.cpp:381
osauthVerifyResponse
int osauthVerifyResponse(char *challenge, char *username, char *response)
Definition: osauth.cpp:36
osauthGetAuth
int osauthGetAuth(char *challenge, char *username, char *authenticator, int authenticator_buflen)
Definition: osauth.cpp:242
osauthGetUsername
int osauthGetUsername(char *username, int username_len)
Definition: osauth.cpp:413
osauthGetKey
int osauthGetKey(char **key, int *key_len)
Definition: osauth.cpp:167
osauthGenerateAuthenticator
int osauthGenerateAuthenticator(char *username, int uid, char *challenge, char *key, int key_len, char *authenticator, int authenticator_len)
Definition: osauth.cpp:107