WIP
This commit is contained in:
9
graphql/auth/auth.edges.graphql
Normal file
9
graphql/auth/auth.edges.graphql
Normal file
@@ -0,0 +1,9 @@
|
||||
type AuthOauth2ClientToAuthRealmEdge {
|
||||
data: AuthRealm
|
||||
error: AuthOauth2ClientToAuthRealmError
|
||||
}
|
||||
|
||||
type AuthOauth2ClientToAuthOauth2ScopesEdge {
|
||||
data: [AuthOauth2Scope]
|
||||
error: AuthOauth2ClientToAuthOauth2ScopesError
|
||||
}
|
||||
4
graphql/auth/auth.enumerations.graphql
Normal file
4
graphql/auth/auth.enumerations.graphql
Normal file
@@ -0,0 +1,4 @@
|
||||
enum AuthOauth2ClientTypeEnum {
|
||||
CONFIDENTIAL
|
||||
PUBLIC
|
||||
}
|
||||
7
graphql/auth/auth.errors.graphql
Normal file
7
graphql/auth/auth.errors.graphql
Normal file
@@ -0,0 +1,7 @@
|
||||
enum AuthOauth2ClientToAuthRealmError {
|
||||
UNKNOWN
|
||||
}
|
||||
|
||||
enum AuthOauth2ClientToAuthOauth2ScopesError {
|
||||
UNKNOWN
|
||||
}
|
||||
20
graphql/auth/auth.types.graphql
Normal file
20
graphql/auth/auth.types.graphql
Normal file
@@ -0,0 +1,20 @@
|
||||
type AuthRealm {
|
||||
urn: ID!
|
||||
name: String
|
||||
createdAt: String
|
||||
}
|
||||
|
||||
type AuthOauth2Client {
|
||||
urn: ID!
|
||||
clientId: String!
|
||||
clientType: AuthOauth2ClientTypeEnum!
|
||||
clientSecret: String
|
||||
|
||||
Realm: AuthOauth2ClientToAuthRealmEdge
|
||||
Scopes: AuthOauth2ClientToAuthOauth2Scopes
|
||||
}
|
||||
|
||||
type AuthOauth2Scope {
|
||||
urn: ID!
|
||||
scope: String
|
||||
}
|
||||
Reference in New Issue
Block a user