Skip to content

yunomu/auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auth

UserPool

Development

Structure

graph LR;
  subgraph auth
    UserPool[UserPool]
    PreSign["PreSignupFunction\n(Lambda)"]
    PreAuth["PreAuthenticationFunction\n(Lambda)"]
    Product[("ProductTable\n(DynamoDB)")]
    Restriction[("Restriction\n(DynamoDB)")]
  end

  UserPool -- PreAuthentication --> PreAuth
  UserPool -- PreSignup --> PreSign
  PreAuth -- read only --> Product
  PreSign -- read only --> Restriction
  PreAuth -- read only --> Restriction
  PreSign -- read only --> Product

  subgraph otherproduct[Other product]
    Function[LambdaFunction]
  end

  PreAuth -. invoke if registered .-> Function
Loading

Table: Product

AttrName Type Schema Description
ClientId S PK
AppCode S
FuncArn S ClientTriggerLambda
Timestamp N (Micro second)

Table: Restriction

AttrName Type Schema Description
Email S PK
AppCodes SS
Timestamp N (Micro second)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published