AuthMode returns the app handler's auth mode, which is also the auth that the app's client will be configured with. This mode should be registered with the server's auth modes, for the app to have access to the server's resources.
()
| 512 | // app's client will be configured with. This mode should be registered with |
| 513 | // the server's auth modes, for the app to have access to the server's resources. |
| 514 | func (a *Handler) AuthMode() auth.AuthMode { |
| 515 | return a.auth |
| 516 | } |
| 517 | |
| 518 | // AppConfig returns the optional configuration parameters object that the app |
| 519 | // can request from the app handler. It can be nil. |