Show / Hide Table of Contents

Class CfnSkill.AuthenticationConfigurationProperty

The AuthenticationConfiguration property type specifies the Login with Amazon (LWA) configuration used to authenticate with the Alexa service.

Inheritance
object
CfnSkill.AuthenticationConfigurationProperty
Implements
CfnSkill.IAuthenticationConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Alexa.Ask
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSkill.AuthenticationConfigurationProperty : CfnSkill.IAuthenticationConfigurationProperty
Syntax (vb)
Public Class CfnSkill.AuthenticationConfigurationProperty 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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html

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

AuthenticationConfigurationProperty()

The AuthenticationConfiguration property type specifies the Login with Amazon (LWA) configuration used to authenticate with the Alexa service.

Properties

ClientId

Client ID from Login with Amazon (LWA).

ClientSecret

Client secret from Login with Amazon (LWA).

RefreshToken

Refresh token from Login with Amazon (LWA).

Constructors

AuthenticationConfigurationProperty()

The AuthenticationConfiguration property type specifies the Login with Amazon (LWA) configuration used to authenticate with the Alexa service.

public AuthenticationConfigurationProperty()
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html

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"
             };

Properties

ClientId

Client ID from Login with Amazon (LWA).

public string ClientId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientid

ClientSecret

Client secret from Login with Amazon (LWA).

public string ClientSecret { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientsecret

RefreshToken

Refresh token from Login with Amazon (LWA).

public string RefreshToken { get; set; }
Property Value

string

Remarks

This token is secret.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-refreshtoken

Implements

CfnSkill.IAuthenticationConfigurationProperty
Back to top Generated by DocFX