gnapView: (
req: any,
) => {
actions: string[];
authorizationServers: {
capabilities: Record<string, any>;
id: any;
label: any;
}[];
capabilities: Record<string, any>;
enabled: boolean;
endpoints: {
accessTokenStatusList: string;
biscuitRevocations: string;
continuation: string;
demonstrationResourceServer: string;
demonstrationSpend: string;
discovery: string;
grant: string;
introspection: string;
keys: string;
resourceRegistration: string;
rsDiscovery: string;
tokenManagement: string;
userCode: string;
zcapController: string;
};
grants: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
authorizationServer: any;
client: any;
createdAt: any;
decision: any;
derivedFrom: any;
finalization: any;
grantEndpoint: any;
grantExpiresAt: any;
history: any;
id: any;
interaction: {
expiresAt: any;
finish: any;
modes: string[];
started: any;
};
proof: any;
resourceOwner: any;
state: any;
tokens: any;
updatedAt: any;
}[];
state: string;
states: string[];
};
page: string;
resourceSets: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
access: any;
createdAt: any;
introspectionRequired: boolean;
reference: any;
resourceServer: any;
tokenFormats: any;
}[];
};
settings: any[];
specifications: string[];
title: string;
tokenFormats: string[];
verificationMaterial: any;
} = ...
Type Declaration
-
- (
req: any,
): {
actions: string[];
authorizationServers: {
capabilities: Record<string, any>;
id: any;
label: any;
}[];
capabilities: Record<string, any>;
enabled: boolean;
endpoints: {
accessTokenStatusList: string;
biscuitRevocations: string;
continuation: string;
demonstrationResourceServer: string;
demonstrationSpend: string;
discovery: string;
grant: string;
introspection: string;
keys: string;
resourceRegistration: string;
rsDiscovery: string;
tokenManagement: string;
userCode: string;
zcapController: string;
};
grants: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
authorizationServer: any;
client: any;
createdAt: any;
decision: any;
derivedFrom: any;
finalization: any;
grantEndpoint: any;
grantExpiresAt: any;
history: any;
id: any;
interaction: {
expiresAt: any;
finish: any;
modes: string[];
started: any;
};
proof: any;
resourceOwner: any;
state: any;
tokens: any;
updatedAt: any;
}[];
state: string;
states: string[];
};
page: string;
resourceSets: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
access: any;
createdAt: any;
introspectionRequired: boolean;
reference: any;
resourceServer: any;
tokenFormats: any;
}[];
};
settings: any[];
specifications: string[];
title: string;
tokenFormats: string[];
verificationMaterial: any;
}
-
Returns {
actions: string[];
authorizationServers: {
capabilities: Record<string, any>;
id: any;
label: any;
}[];
capabilities: Record<string, any>;
enabled: boolean;
endpoints: {
accessTokenStatusList: string;
biscuitRevocations: string;
continuation: string;
demonstrationResourceServer: string;
demonstrationSpend: string;
discovery: string;
grant: string;
introspection: string;
keys: string;
resourceRegistration: string;
rsDiscovery: string;
tokenManagement: string;
userCode: string;
zcapController: string;
};
grants: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
authorizationServer: any;
client: any;
createdAt: any;
decision: any;
derivedFrom: any;
finalization: any;
grantEndpoint: any;
grantExpiresAt: any;
history: any;
id: any;
interaction: {
expiresAt: any;
finish: any;
modes: string[];
started: any;
};
proof: any;
resourceOwner: any;
state: any;
tokens: any;
updatedAt: any;
}[];
state: string;
states: string[];
};
page: string;
resourceSets: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
access: any;
createdAt: any;
introspectionRequired: boolean;
reference: any;
resourceServer: any;
tokenFormats: any;
}[];
};
settings: any[];
specifications: string[];
title: string;
tokenFormats: string[];
verificationMaterial: any;
}
the page's facts
Computes
GET /admin/gnap: the authorization server's endpoints, its capabilities per authorization server profile, the token formats and their verification material, the grants held, the resource sets registered and the settings.