Session

The session adapter checks the session to find user profile information.

Configuration

Here are all of the properties that may be configured:

{
    "adapters": {
        "{adapterId}": {
            "type": "session"
        }
    }
}

The value {adapterId} can be any unique ID across the adapters. This is the ID that you reference from within your strategy configuration.

Usage

To grab authenticated user profile from the session, you might do:

{
    "adapters": {
        "{adapterId}": {
            "type": "session"
        }
    }
}