Class CfnSkill.AuthenticationConfigurationProperty
The AuthenticationConfiguration
property type specifies the Login with Amazon (LWA) configuration used to authenticate with the Alexa service.
Inheritance
Namespace: Amazon.CDK.Alexa.Ask
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AuthenticationConfigurationProperty : Object, CfnSkill.IAuthenticationConfigurationProperty
Syntax (vb)
Public Class AuthenticationConfigurationProperty
Inherits Object
Implements CfnSkill.IAuthenticationConfigurationProperty
Remarks
Only Login with Amazon security profiles created through the are supported for authentication. A client ID, client secret, and refresh token are required. You can generate a client ID and client secret by creating a new on the Amazon Developer Portal or you can retrieve them from an existing profile. You can then retrieve the refresh token using the Alexa Skills Kit CLI. For instructions, see in the .
AuthenticationConfiguration
is a property of the Alexa::ASK::Skill
resource.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Alexa.Ask;
var authenticationConfigurationProperty = new AuthenticationConfigurationProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
RefreshToken = "refreshToken"
};
Synopsis
Constructors
Authentication |
Properties
Client |
Client ID from Login with Amazon (LWA). |
Client |
Client secret from Login with Amazon (LWA). |
Refresh |
Refresh token from Login with Amazon (LWA). |
Constructors
AuthenticationConfigurationProperty()
public AuthenticationConfigurationProperty()
Properties
ClientId
Client ID from Login with Amazon (LWA).
public string ClientId { get; set; }
Property Value
System.
Remarks
ClientSecret
Client secret from Login with Amazon (LWA).
public string ClientSecret { get; set; }
Property Value
System.
Remarks
RefreshToken
Refresh token from Login with Amazon (LWA).
public string RefreshToken { get; set; }
Property Value
System.