You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a register request is received, the Authorizer is responsible to decide if client registration is accepted or not.
Often this Authorizer gathers data about this client which can be necessary to attach to the registration.
We already have some kind of API to do that :
Authorizer.isAuthorized() returns a Registration and so a custom Registraton can be created (but that sounds not so good because this implies to create custom RegistrationStore too to handle it.
Then we add Map<String, String> getApplicationData() and so this will be automatically handled by RegistrationStore implementation. (Add a way to add application Data #1018)
But neither 1) nor 2) supports Application Data update on Registration Update Request.
Maybe we should change the API of Authorizer to make it returns ApplicationData on success.
Then used this Application Data :
to create Registration on RegistrationHandler.register
to create RegistrationUpdate which can handle ApplicationData modification on RegistrationHandler.update.
The text was updated successfully, but these errors were encountered:
When a register request is received, the
Authorizer
is responsible to decide if client registration is accepted or not.Often this
Authorizer
gathers data about this client which can be necessary to attach to the registration.We already have some kind of API to do that :
Authorizer.isAuthorized()
returns aRegistration
and so a custom Registraton can be created (but that sounds not so good because this implies to create custom RegistrationStore too to handle it.Map<String, String> getApplicationData()
and so this will be automatically handled by RegistrationStore implementation. (Add a way to add application Data #1018)But neither 1) nor 2) supports Application Data update on Registration Update Request.
Maybe we should change the API of Authorizer to make it returns ApplicationData on success.
Then used this Application Data :
The text was updated successfully, but these errors were encountered: