mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
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:
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user