Context returns the connection's context. The returned context is always non-nil and holds the same data as the Context passed into auth handlers and callbacks. The context is canceled when the client's connection closes or I/O operation fails.
()
| 60 | // The context is canceled when the client's connection closes or I/O |
| 61 | // operation fails. |
| 62 | Context() Context |
| 63 | |
| 64 | // Permissions returns a copy of the Permissions object that was available for |
| 65 | // setup in the auth handlers via the Context. |
no outgoing calls