Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept sign as lambda function #1212

Merged
merged 3 commits into from
Apr 14, 2023
Merged

Conversation

anniel-stripe
Copy link
Contributor

Summary

Represent the sign method as a lambda for simpler RequestSigningAuthenticator creation.

@anniel-stripe anniel-stripe changed the base branch from master to beta April 14, 2023 21:40
@anniel-stripe anniel-stripe force-pushed the anniel-lambda-authenticator branch from 596b9e8 to fd25364 Compare April 14, 2023 21:53
@anniel-stripe anniel-stripe merged commit 8cdb85c into beta Apr 14, 2023
@anniel-stripe anniel-stripe deleted the anniel-lambda-authenticator branch April 14, 2023 21:56
@auth_token = case auth_token
when String
auth_token
else
raise ArgumentError, "auth_token must be a string"
end
@sign_lambda = sign_lambda
Copy link
Contributor

Choose a reason for hiding this comment

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

null check?

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