/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_authorization/lib/ |
H A D | Authorization.h | 48 The Authorization API contains all the APIs that a application or tool that need pre-authorization or need an authorization desision made. 50 A typical use cases are a preference panel that would start off calling AuthorizationCreate() (without UI) to get an authorization object. Then call AuthorizationCopyRights() to figure out what is currently allowed. 54 When the user locks the lock AuthorizationFree() is called with the kAuthorizationFlagDestroyRights to destroy any authorization rights that have been aquired. 56 When the user unlocks the lock AuthorizationCreate() is called with the kAuthorizationFlagInteractionAllowed and kAuthorizationFlagExtendRights flags to obtain all required rights. The old authorization object can be freed by calling AuthorizationFree() with no flags. 85 errAuthorizationInvalidSet = -60001, /* The authorization rights are invalid. */ 86 errAuthorizationInvalidRef = -60002, /* The authorization reference is invalid. */ 87 errAuthorizationInvalidTag = -60003, /* The authorization tag is invalid. */ 88 errAuthorizationInvalidPointer = -60004, /* The returned authorization is invalid. */ 89 errAuthorizationDenied = -60005, /* The authorization wa [all...] |
H A D | trampolineServer.cpp | 37 OSStatus AuthorizationCopyPrivilegedReference(AuthorizationRef *authorization, argument 60 // internalize the authorization 66 *authorization = auth;
|
H A D | Authorization.c | 26 connection_queue = dispatch_queue_create("authorization-connection-queue", DISPATCH_QUEUE_SERIAL); 90 AuthorizationRef *authorization) 96 // require_action(!(rights == NULL && authorization == NULL), done, status = errAuthorizationInvalidSet); 105 xpc_dictionary_set_uint64(message, AUTH_XPC_FLAGS, flags | (authorization ? 0 : kAuthorizationFlagNoData)); 116 if (authorization && status == errAuthorizationSuccess) { 126 *authorization = (AuthorizationRef)blob; 138 AuthorizationRef *authorization) 144 require_action(authorization != NULL, done, status = errAuthorizationInvalidPointer); 174 *authorization = (AuthorizationRef)blob; 183 OSStatus AuthorizationFree(AuthorizationRef authorization, AuthorizationFlag argument 87 AuthorizationCreate(const AuthorizationRights *rights, const AuthorizationEnvironment *environment, AuthorizationFlags flags, AuthorizationRef *authorization) argument 135 AuthorizationCreateWithAuditToken(audit_token_t token, const AuthorizationEnvironment *environment, AuthorizationFlags flags, AuthorizationRef *authorization) argument 250 _AuthorizationCopyRights_prepare_message(AuthorizationRef authorization, const AuthorizationRights *rights, const AuthorizationEnvironment *environment, AuthorizationFlags flags, xpc_object_t *message_out) argument 275 AuthorizationCopyRights(AuthorizationRef authorization, const AuthorizationRights *rights, const AuthorizationEnvironment *environment, AuthorizationFlags flags, AuthorizationRights **authorizedRights) argument 293 AuthorizationCopyRightsAsync(AuthorizationRef authorization, const AuthorizationRights *rights, const AuthorizationEnvironment *environment, AuthorizationFlags flags, AuthorizationAsyncCallback callbackBlock) argument 341 AuthorizationCopyInfo(AuthorizationRef authorization, AuthorizationString tag, AuthorizationItemSet **info) argument 387 AuthorizationMakeExternalForm(AuthorizationRef authorization, AuthorizationExternalForm *extForm) argument 430 AuthorizationCreateFromExternalForm(const AuthorizationExternalForm *extForm, AuthorizationRef *authorization) argument 687 AuthorizationRightRemove(AuthorizationRef authorization, const char *rightName) argument [all...] |
H A D | AuthorizationPriv.h | 48 This header contains private APIs for authorization services. 66 @param authorization (output) A pointer to an AuthorizationRef to be returned. When the returned AuthorizationRef is no longer needed AuthorizationFree should be called to prevent anyone from using the aquired rights. 68 @result errAuthorizationSuccess 0 authorization or all requested rights succeeded. 70 errAuthorizationDenied -60005 The authorization for one or more of the requested rights was denied. 76 AuthorizationRef *authorization); 81 suitable authorization procedures. 83 @param authorization in external form that is used to authorize 109 Any active authorization requests will be canceled and return errAuthorizationDenied 157 @param authorization (input) The authorization objec [all...] |
H A D | trampolineClient.cpp | 66 OSStatus AuthorizationExecuteWithPrivileges(AuthorizationRef authorization, argument 72 // externalize the authorization 74 if (OSStatus err = AuthorizationMakeExternalForm(authorization, &extForm))
|
/macosx-10.10.1/configd-699.1.5/scutil.tproj/ |
H A D | prefs.c | 73 _AuthorizationCreate(const AuthorizationRights *rights, const AuthorizationEnvironment *environment, AuthorizationFlags flags, AuthorizationRef *authorization) argument 81 return dyfunc ? dyfunc(rights, environment, flags, authorization) : -1; 87 _AuthorizationFree(AuthorizationRef authorization, AuthorizationFlags flags) argument 95 return dyfunc ? dyfunc(authorization, flags) : -1; 106 AuthorizationRef authorization = NULL; local 109 authorization = kSCPreferencesUseEntitlementAuthorization; 117 &authorization); 127 return authorization; 133 _prefs_AuthorizationFree(AuthorizationRef authorization) argument 135 if (authorization ! [all...] |
H A D | prefs.h | 44 void _prefs_AuthorizationFree (AuthorizationRef authorization);
|
H A D | scutil.h | 52 extern AuthorizationRef authorization;
|
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/ |
H A D | SCPreferencesPrivate.h | 54 @abstract The authorization right used to control whether the current 61 @abstract The authorization right used to control whether the network 87 @discussion An authorization value that can be passed to 91 be used for authorization purposes. 131 @param authorization An authorization reference that is used to 145 AuthorizationRef authorization,
|
/macosx-10.10.1/cups-408/cups/scheduler/ |
H A D | auth.c | 102 * 'cupsdAddIPMask()' - Add an IP address authorization mask. 139 * 'cupsdAddLocation()' - Add a location for authorization. 192 * 'cupsdAddNameMask()' - Add a host or interface name authorization mask. 269 * 'cupsdAuthorize()' - Validate any authorization credentials. 276 const char *authorization; /* Pointer into Authorization string */ local 312 authorization = httpGetField(con->http, HTTP_FIELD_AUTHORIZATION); 315 con->number, authorization); 332 if (!*authorization) 335 * No authorization data provided, return early... 344 else if (!strncmp(authorization, "AuthRe [all...] |
/macosx-10.10.1/OpenSSH-189/openssh/regress/ |
H A D | ssh-com.sh | 43 AuthorizationFile authorization 64 cp /dev/null ${OBJ}/${USER}/authorization 67 echo Key $t.com >> ${OBJ}/${USER}/authorization
|
/macosx-10.10.1/DiskArbitration-268/DiskArbitration/ |
H A D | DASession.c | 223 AuthorizationRef authorization; local 227 authorization = session->_authorization; 229 if ( authorization == NULL ) 234 * Create the session's authorization reference. 237 status = AuthorizationCreate( NULL, NULL, kAuthorizationFlagDefaults, &authorization ); 244 * Create the session's authorization reference representation. 247 status = AuthorizationMakeExternalForm( authorization, &_authorization ); 253 session->_authorization = authorization; 257 AuthorizationFree( authorization, kAuthorizationFlagDefaults ); 259 authorization [all...] |
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/API/efl/tests/ |
H A D | test_ewk2_auth_request.cpp | 54 const char* authorization = soup_message_headers_get_one(message->request_headers, "Authorization"); local 56 if (authorization && !strcmp(authorization, expectedAuthorization)) { 61 // No (valid) authorization header provided by the client, request authentication.
|
/macosx-10.10.1/ksh-23/ksh/src/cmd/INIT/ |
H A D | hurl.sh | 47 [a:authorize?The url authorization user name and password, separated 164 then print authorization failed 169 then print authorization failed
|
/macosx-10.10.1/configd-699.1.5/scselect.tproj/ |
H A D | scselect.c | 95 AuthorizationRef authorization = NULL; local 154 &authorization); 168 prefs = SCPreferencesCreateWithOptions(NULL, CFSTR("scselect"), NULL, authorization, options); 331 AuthorizationFree(authorization, kAuthorizationFlagDefaults); 332 // AuthorizationFree(authorization, kAuthorizationFlagDestroyRights);
|
/macosx-10.10.1/Security-57031.1.35/securityd/tests/ |
H A D | testacls.cpp | 186 // ACL authorization tests 202 initialAcl.authorization().NumberOfAuthTags = 1; 203 initialAcl.authorization().AuthTags = &wrapTag; 223 const AuthorizationGroup &auths = acl1.proto().authorization(); 248 newAcl.authorization().NumberOfAuthTags = 1; 249 newAcl.authorization().AuthTags = &encryptTag; 273 const AuthorizationGroup &auths1 = acl1.proto().authorization(); 280 const AuthorizationGroup &auths2 = acl2.proto().authorization();
|
/macosx-10.10.1/configd-699.1.5/SCMonitor/ |
H A D | monitor.c | 65 * is NOT "root" (eUID==0) or if the authorization right that governs 103 AuthorizationRef authorization; member in struct:__anon6824 116 if (myInstance->authorization == NULL) { 123 &myInstance->authorization); 131 return myInstance->authorization; 138 AuthorizationRef authorization; local 141 authorization = getAuthorization(myInstance); 142 if (authorization != NULL) { 156 status = AuthorizationCopyRights(authorization, 171 if (myInstance->authorization ! 466 AuthorizationRef authorization; local [all...] |
/macosx-10.10.1/Security-57031.1.35/securityd/src/ |
H A D | session.cpp | 258 // Manage authorization client processes 333 // invoke the authorization computation engine 383 // now get rid of the authorization itself 393 AuthorizationToken &auth = authorization(authBlob); 428 AuthorizationToken &auth = authorization(authBlob); 437 const AuthorizationToken &auth = authorization(authBlob); 458 // locate source authorization 516 AuthorizationToken &auth = authorization(authBlob); 533 &authorization(authBlob), inRightName, int32_t(result)); 541 AuthorizationToken &auth = authorization(authBlo 590 AuthorizationToken &Session::authorization(const AuthorizationBlob &blob) function in class:Session [all...] |
/macosx-10.10.1/DiskArbitration-268/diskarbitrationd/ |
H A D | DASession.h | 74 extern void DASessionSetAuthorization( DASessionRef session, AuthorizationRef authorization );
|
/macosx-10.10.1/OpenSSL098-52/src/crypto/krb5/ |
H A D | krb5_asn.h | 203 ** authorization-data[8] AuthorizationData OPTIONAL 216 KRB5_AUTHDATA *authorization; member in struct:krb5_authenticator_st
|
/macosx-10.10.1/OpenSSL098-52/src/include/openssl/ |
H A D | krb5_asn.h | 203 ** authorization-data[8] AuthorizationData OPTIONAL 216 KRB5_AUTHDATA *authorization; member in struct:krb5_authenticator_st
|
/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/ |
H A D | ACL.cpp | 68 mAuthorizations = proto.authorization(); 231 proto.authorization() = tags; 304 proto.authorization() = tags;
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/ |
H A D | ACL.cpp | 68 mAuthorizations = proto.authorization(); 231 proto.authorization() = tags; 304 proto.authorization() = tags;
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/lib/ |
H A D | ACL.cpp | 68 mAuthorizations = proto.authorization(); 231 proto.authorization() = tags; 304 proto.authorization() = tags;
|
/macosx-10.10.1/IOKitUser-1050.1.21/ |
H A D | IOSystemConfiguration.h | 123 AuthorizationRef authorization);
|