We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0c4306 commit b507aefCopy full SHA for b507aef
src/typeDefs/types.ts
@@ -843,8 +843,17 @@ export const types = gql`
843
messageId: ID!
844
}
845
846
+ """
847
+ Response type for verifying user roles and their authorization status.
848
849
type VerifyRoleResponse {
- role: String
- isAuthorized: Boolean
850
851
+ The role of the user (e.g., 'ADMIN', 'USER', etc.).
852
853
+ role: String!
854
855
+ Whether the user is authorized for the requested action.
856
857
+ isAuthorized: Boolean!
858
859
`;
0 commit comments