shishi_authorize_strcmp3
Api function
Usage
#include <shishi.h>
int shishi_authorize_strcmp(Shishi * handle, const char * principal, const char * authzname);
Arguments
Shishi * handle
|
shishi handle allocated by |
|---|---|
const char * principal
|
string with desired principal name. |
const char * authzname
|
authorization name. |
Overview
Authorization of authzname against desired principal according to "basic" authentication, i.e., testing for identical strings.
Return value
Returns 1 if authzname is authorized for services by the encrypted principal, and 0 otherwise.
Releases
6 releases since Debian 8 (Jessie); the text changed 1 time.