alexa / alexa-skills-kit-sdk-for-java

The Alexa Skills Kit SDK for Java helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
http://developer.amazon.com/ask
Apache License 2.0
818 stars 748 forks source link

Accept Grant handler #265

Open ivanmiklec opened 4 years ago

ivanmiklec commented 4 years ago

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Hello,

I noticed Accept grant directive (https://developer.amazon.com/en-US/docs/alexa/device-apis/alexa-authorization.html) that sends auth codes for event gateway token isn't implemented like other cases where appropriate handler exists (AccountLinkedHandler, SkillDisabledHandler...).

Possible Solution

Some kind of interface called AuthorizationDirectiveHandler or AcceptGrantDirectiveHandler to handle that directive and return JSON output since that same lambda receiving account linked events or intents needs to also receive accept grant directive.

Context

Your Environment

Java Info

rahulawl commented 1 year ago

Is this issue/feature-request still relevant? We are working on prioritization of relevant issues and cleanup of rest. If we don’t hear back in 2 weeks, we will assume that the issue is not relevant and we will close it.