Class DefaultRequestEnvelopeVerificationService
java.lang.Object
io.micronaut.aws.alexa.httpserver.services.DefaultRequestEnvelopeVerificationService
- All Implemented Interfaces:
- RequestEnvelopeVerificationService
@Singleton
public class DefaultRequestEnvelopeVerificationService
extends Object
implements RequestEnvelopeVerificationService
DefaultImplementation of RequestEnvelopeVerificationService.- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier and TypeMethodDescriptionvoidverify(io.micronaut.http.HttpHeaders httpHeaders, byte[] serializedRequestEnvelope, com.amazon.ask.model.RequestEnvelope requestEnvelope) 
- 
Constructor Details- 
DefaultRequestEnvelopeVerificationService- Parameters:
- verifiers- Skill Verifiers
 
 
- 
- 
Method Details- 
verifypublic void verify(io.micronaut.http.HttpHeaders httpHeaders, byte[] serializedRequestEnvelope, com.amazon.ask.model.RequestEnvelope requestEnvelope) throws SecurityException, com.amazon.ask.exception.AskSdkException - Specified by:
- verifyin interface- RequestEnvelopeVerificationService
- Parameters:
- httpHeaders- HTTP Headers of the request
- serializedRequestEnvelope- byte array of the request envelope
- requestEnvelope- Request Envelope
- Throws:
- SecurityException- Raised if the signature of the request cannot be matched.
- com.amazon.ask.exception.AskSdkException- ASK SDK exception raised by teh verifiers
 
 
-