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

Add API key validation #1036

Merged
merged 1 commit into from
Jun 4, 2019
Merged

Add API key validation #1036

merged 1 commit into from
Jun 4, 2019

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

Add API key validation to RequestOptions, so that API keys
passed in via Stripe instance methods (as opposed to
Stripe constructor) are correctly validated.

Motivation

Consolidate validation

Testing

Add unit tests

Add API key validation to `RequestOptions`, so that API keys
passed in via `Stripe` instance methods (as opposed to
`Stripe` constructor) are correctly validated.
@mshafrir-stripe mshafrir-stripe merged commit 68ded8b into master Jun 4, 2019
@mshafrir-stripe mshafrir-stripe deleted the api-key branch June 4, 2019 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants