Classes
Methods
# static parseResponse(locationHash) → {Object}
Parses the location hash (as received from window.location.hash
) into an
object, e.g.:
parseResponse('/routepath#access_token=secret-token&scope=something'); // => { access_token: 'secret-token', scope: 'something' }
Parameters:
Name | Type | Description |
---|---|---|
locationHash |
String
|
The location hash (as received from |
An obect with individual properties and values for the data parsed from the location hash
Object