---
title: engineRef()
framework: securityinterface
role: symbol
role_heading: Instance Method
path: securityinterface/sfauthorizationpluginview/engineref()
---

# engineRef()

Returns the authorization engine handle with which this instance was initialized.

## Declaration

```swift
func engineRef() -> AuthorizationEngineRef!
```

## Return Value

Return Value A handle of type AuthorizationEngineRef.

## Discussion

Discussion Use the authorization engine handle when you call the functions in the AuthorizationCallbacks structure to set a result or a context value.

## See Also

### Getting Instance Information

- [callbacks()](securityinterface/sfauthorizationpluginview/callbacks().md)
- [lastError()](securityinterface/sfauthorizationpluginview/lasterror().md)
