feat: add oauth2 ui and authorzation code grant handling

This commit is contained in:
Udhay-Adithya
2025-07-20 23:07:58 +05:30
parent 4453ac1b2a
commit fd4b05663c
13 changed files with 1039 additions and 15 deletions

View File

@@ -43,6 +43,15 @@ const kJwtAlgos = [
'EdDSA',
];
enum OAuth2GrantType {
authorizationCode("Authorization Code"),
clientCredentials("Client Credentials"),
resourceOwnerPassword("Resource Owner Password");
const OAuth2GrantType(this.displayType);
final String displayType;
}
enum HTTPVerb {
get("GET"),
head("HEAD"),