---
title: "init(callbacks:andEngineRef:)"
framework: securityinterface
role: symbol
role_heading: Initializer
path: "securityinterface/sfauthorizationpluginview/init(callbacks:andengineref:)"
---

# init(callbacks:andEngineRef:)

Initializes a new authorization plug-in view with the specified callbacks and authorization engine handle.

## Declaration

```swift
init!(callbacks: UnsafePointer<AuthorizationCallbacks>!, andEngineRef engineRef: AuthorizationEngineRef!)
```

## Parameters

- `callbacks`: The structure of type doc://com.apple.documentation/documentation/Security/AuthorizationCallbacks provided to the authorization plug-in in its doc://com.apple.documentation/documentation/Security/AuthorizationPluginCreate function.
- `engineRef`: The handle of type doc://com.apple.documentation/documentation/Security/AuthorizationEngineRef provided to the authorization plug-in in its MechanismCreate function.

## Return Value

Return Value An initialized SFAuthorizationPluginView instance.

## See Also

### Related Documentation

- [Authorization Services Programming Guide](apple-archive/documentation/Security/Conceptual/authorization_concepts/01introduction/introduction.html.md)
