Skip to content

Conversation

@mcastany
Copy link
Contributor

@mcastany mcastany commented Nov 11, 2016

Added new option.prefix to set the signature prefix. Also fixed a warning with moment

getKeyInfo: function () {
return "<X509Data><X509Certificate>" + cert + "</X509Certificate></X509Data>";
getKeyInfo: function (key, prefix) {
prefix = prefix ? prefix + ':' : prefix;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefix can be anything ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefix is a string, added a typeof validation (and test) to make sure it's a string.

@hernanhht hernanhht merged commit 052a6dc into auth0:master Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants