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

docs(cognito): Correct incorrect attribute names in the docs #12969

Merged
merged 1 commit into from
Feb 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/@aws-cdk/aws-cognito/lib/user-pool-idps/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ export class ProviderAttribute {
public static readonly GOOGLE_GENDER = new ProviderAttribute('gender');
/** The birthday attribute provided by Google */
public static readonly GOOGLE_BIRTHDAYS = new ProviderAttribute('birthdays');
/** The birthday attribute provided by Google */
/** The phone number attribute provided by Google */
public static readonly GOOGLE_PHONE_NUMBERS = new ProviderAttribute('phoneNumbers');
/** The email attribute provided by Google */
public static readonly GOOGLE_EMAIL = new ProviderAttribute('email');
/** The name attribute provided by Google */
public static readonly GOOGLE_NAME = new ProviderAttribute('name');
/** The email attribute provided by Google */
/** The picture attribute provided by Google */
public static readonly GOOGLE_PICTURE = new ProviderAttribute('picture');
/** The email attribute provided by Google */
/** The given name attribute provided by Google */
public static readonly GOOGLE_GIVEN_NAME = new ProviderAttribute('given_name');
/** The email attribute provided by Google */
/** The family name attribute provided by Google */
public static readonly GOOGLE_FAMILY_NAME = new ProviderAttribute('family_name');

/**
Expand Down Expand Up @@ -195,4 +195,4 @@ export interface UserPoolIdentityProviderProps {
* @default - no attribute mapping
*/
readonly attributeMapping?: AttributeMapping;
}
}