%ZHS.HC.OAuthResourceServer.Utils
class %ZHS.HC.OAuthResourceServer.Utils
Method Inventory
Methods
classmethod GetOAuthConfigForUIAuthCodeFlow() as %DynamicObject
Utility method for retrieving the information necessary for a given UI client to commence the OIDC authorization code flow
Returns a %DynamicObject with the schema:
{
issuer: string;
clientId: string;
}
classmethod IsOAuthEnabledForAdminWebApps() as %Boolean
Utility method for checking whether OAuth 2.0 is enabled system-wide and for the I4H Admin Applications
Checks that Security.System AutheEnabled includes OAuth 2.0
and for existence of the resource server & mappings to I4H applications
and for existence of the public client used by the UI auth code flow