Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Feature/get token function option #26

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

maciejrybczonek
Copy link

@maciejrybczonek maciejrybczonek commented Aug 9, 2017

Added a feature that allows you to specify how to get the token from request i.e. when you want to remove word "Bearer" from token header:

getToken: function (req, requestHeader, options) {
return req.get(requestHeader).replace("Bearer ", "");
}

@maciejrybczonek maciejrybczonek changed the base branch from master to develop August 9, 2017 20:07
@maciejrybczonek maciejrybczonek force-pushed the feature/get-token-function-option branch from 8b93d7f to ba442a6 Compare August 9, 2017 20:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant