new Authorization(config) → {Object}
Status: Experimental
The AeroGear.Authorization namespace provides an authentication API.
Parameters:
Name | Type | Argument | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
String | Array | Object |
<optional> |
A configuration for the service(s) being created along with the authorizer. If an object or array containing objects is used, the objects can have the following properties:
Properties
|
- Source:
Returns:
The created authorizer containing any authz services that may have been created
- Type
- Object
Example
// Create an empty authorizer
var authz = AeroGear.Authorization();
Members
-
<static> adapters
-
The adapters object is provided so that adapters can be added to the AeroGear.Authorization namespace dynamically and still be accessible to the add method
- Source:
-
<static> this.collectionName :Object
-
The name used to reference the collection of service instances created from the adapters
Type:
- Object
- Default Value:
- services
- Source: