feat(router): Add new JWT authentication variants and use them (#2835)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Mani Chandra
2023-11-13 11:17:35 +05:30
committed by GitHub
parent 0eb81f04b3
commit f88eee7362
34 changed files with 3489 additions and 67 deletions

View File

@ -24,6 +24,7 @@ pub enum ApiIdentifier {
PaymentLink,
Routing,
Gsm,
User,
}
impl From<Flow> for ApiIdentifier {
@ -134,6 +135,8 @@ impl From<Flow> for ApiIdentifier {
| Flow::GsmRuleRetrieve
| Flow::GsmRuleUpdate
| Flow::GsmRuleDelete => Self::Gsm,
Flow::UserConnectAccount => Self::User,
}
}
}