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

Access type=other to bypass authorization flow #1380

Merged
merged 1 commit into from Jan 12, 2016

Conversation

dvoytenko
Copy link
Contributor

No description provided.

@dvoytenko
Copy link
Contributor Author

Wait a bit. Gonna change couple more things.

@dvoytenko
Copy link
Contributor Author

@cramforce PTAL.

const AccessType = {
CLIENT: 'client',
SERVER: 'server',
OTHER: 'other',
Copy link
Member

Choose a reason for hiding this comment

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

Why is this called OTHER?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The meaning of it is: "I don't know what type of auth this is, so I'm gonna ignore as much as I can". Hence the type is "other". I really didn't find any other better way to short-name it.

Copy link
Member

Choose a reason for hiding this comment

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

NONE? I don't really understand when one would use this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Discussed offline.

@cramforce
Copy link
Member

LGTM

dvoytenko added a commit that referenced this pull request Jan 12, 2016
Access type=other to bypass authorization flow
@dvoytenko dvoytenko merged commit ddd9ef1 into ampproject:master Jan 12, 2016
@dvoytenko dvoytenko deleted the access15 branch January 12, 2016 00:55
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.

None yet

3 participants