OAuth2ImplicitGrantCallbackRouteMixin
import OAuth2ImplicitGrantCallbackRouteMixin from 'ember-simple-auth/mixins/oauth2-implicit-grant-callback-route-mixin';
This mixin is used in the callback route when using OAuth 2.0 Implicit
Grant authentication. It implements the
activate
method that retrieves and processes authentication parameters, such as
access_token
, from the hash parameters provided in the callback URL by
the authentication server. The parameters are then passed to the
OAuth2ImplicitGrantAuthenticator
Methods
Passes the hash received with the redirection from the authentication server to the OAuth2ImplicitGrantAuthenticator and authenticates the session with the authenticator.
Properties
Default: null
The authenticator that should be used to authenticate the callback. This must be a subclass of the OAuth2ImplicitGrantAuthenticator authenticator.