mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
feat: add oauth2 ui and authorzation code grant handling
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user