Language

AuthorizationCallbacks Struct

Definition

Contains the callbacks provided by the authorization engine host.

public readonly struct AuthorizationCallbacks
type AuthorizationCallbacks = struct
Inheritance
AuthorizationCallbacks

Remarks

Access this structure through the pointer supplied by the authorization plugin host. The pointer is borrowed and must not be freed, mutated, or used after the host-defined authorization mechanism lifetime ends. Do not copy the structure by value, because older hosts may provide a smaller table. Access its properties through the pointer and check version-gated function pointers for null before invoking them.

Properties

Name Description
DidDeactivate

Gets the callback that reports mechanism deactivation.

GetArguments

Gets the callback that reads the authorization arguments.

GetContextValue

Gets the callback that reads a context value.

GetHintValue

Gets the callback that reads a hint value.

GetImmutableHintValue

Gets the callback that reads an immutable hint value.

GetLAContext

Gets the callback that creates a local authentication context.

GetSessionId

Gets the callback that reads the authorization session identifier.

GetTKTokenWatcher

Gets the callback that creates a token watcher.

GetTokenIdentities

Gets the callback that returns token identities.

RemoveContextValue

Gets the callback that removes a context value.

RemoveHintValue

Gets the callback that removes a hint value.

RequestInterrupt

Gets the callback that requests an authorization interrupt.

SetContextValue

Gets the callback that writes a context value.

SetHintValue

Gets the callback that writes a hint value.

SetResult

Gets the callback that sets the authorization result.

Version

Gets the version of the callback table.

Applies to