Contents

RemoveContextValue

Removes a value collected during authorization.

Declaration

int (*)(struct __OpaqueAuthorizationEngine *, const char *) RemoveContextValue;

Parameters

  • inEngine:

    An opaque handle that is passed to your plug-in when the authorization engine calls your Mechanismcreate function.

  • inKey:

    A key indicating which value you want to remove. This key must correspond to one you specified when you used the Setcontextvalue function to store a context value.

Return Value

A result code. Possible results are errAuthorizationSuccess (no error) and errAuthorizationInternal (Security Server internal error).