---
title: allowedProtocols
framework: cryptotokenkit
role: symbol
role_heading: Instance Property
path: cryptotokenkit/tksmartcard/allowedprotocols
---

# allowedProtocols

The protocols allowed for communication with the Smart Card. any by default.

## Declaration

```swift
var allowedProtocols: TKSmartCardProtocol { get set }
```

## Discussion

Discussion This property is consulted only when beginning a session to a Smart Card. Any changes to this property will not be reflected by the current session, if one is already established.

## See Also

### Setting the Communication Protocol

- [currentProtocol](cryptotokenkit/tksmartcard/currentprotocol.md)
- [TKSmartCardProtocol](cryptotokenkit/tksmartcardprotocol.md)
