Class SimpleID\Base\ScopeInfoCollectionEvent

extends BaseEvent

An event to collect scope information.

Different identity protocols use the concept of scope to limit the extent to which authorisation is provided by the user. This event is used to collect all the possible scopes that this SimpleID installation can provide, as well as human-friendly information on these scopes.

Scope information is categorised into types. Generally each identity protocol would have a separate type assigned. Currently the available types are:

  • openid for the OpenID 1 and 2 protocols
  • oauth for OAuth based protocols (including OpenID Connect)

Listeners should use addScopeInfo() to add scope information.

Methods
Properties