OidcAuthenticationFlow class: Difference between revisions
From Catglobe Wiki
More actions
Nguyenduyan (talk | contribs)  Created page with "{{CGscriptClass_Template |Name=<nowiki>OidcAuthenticationFlow</nowiki> |Description=<nowiki>Specification of a Authentication Flow oidc client</nowiki> |InheritsFrom=object|Methods= {{CGscriptMethods_Template|ReturnType=Empty|Name=<nowiki>Delete</nowiki>|Description=<nowiki>Delete this client</nowiki>}} {{CGscriptMethods_Template|ReturnType=Empty|Name=<nowiki>Save</nowiki>|Description=<nowiki>Save the Oidc client</nowiki>}} {{CGscriptMethods_Template|ReturnType=Empty|Nam..."  | 
				Nguyenduyan (talk | contribs) No edit summary  | 
				||
| Line 10: | Line 10: | ||
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}}  | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}}  | ||
|Properties=  | |Properties=  | ||
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>AppRolesScriptId</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set id of the script that determines cg_roles claim to let your app do role based security. 0 to unset</nowiki>}}  | {{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>AppRolesScriptId</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set id of the script that determines cg_roles claim to let your app do role based security. This must run with impersonation and be public. 0 to unset</nowiki>}}  | ||
{{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>AskUserForConsent</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set ask user for consent when connecting</nowiki>}}  | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>AskUserForConsent</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set ask user for consent when connecting</nowiki>}}  | ||
{{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>CanAuthRespondent</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set if the respondent can login via redirect from qas</nowiki>}}  | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>CanAuthRespondent</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Get/set if the respondent can login via redirect from qas</nowiki>}}  | ||
Latest revision as of 09:09, 3 April 2025
OidcAuthenticationFlow
Specification of a Authentication Flow oidc client
Parent class
Inherits from object
Methods
- Empty Delete() - Delete this client
 - Empty Save() - Save the Oidc client
 - Empty SetClientSecret(string secret "The new secret") - Set Oidc client secret
 - (From object) string ToString() - The string representation of the object.
 
Properties
- int AppRolesScriptId { get; set; } - Get/set id of the script that determines cg_roles claim to let your app do role based security. This must run with impersonation and be public. 0 to unset
 - bool AskUserForConsent { get; set; } - Get/set ask user for consent when connecting
 - bool CanAuthRespondent { get; set; } - Get/set if the respondent can login via redirect from qas
 - bool CanKeepSecret { get; set; } - Get/set if the application can keep secret (ie. false for an SPA)
 - string ClientId { get;  } - Oidc client id
 - LocalizedString DisplayNames { get; set; } - Get/set display names
 - bool IsBuiltIn { get;  } - True, if a system client
 - string Layout { get; set; } - Get/set layout to use for login screen
 - string ObjectTypeName { get;  } - The name of the type of object.
 - Array of string OptionalScopes { get; set; } - Get/set optional scopes
 - int OwnerResourceId { get; set; } - Get/set owner resource id
 - Array of string PostLogoutRedirectUris { get; set; } - Get/set post logout redirect URIs
 - Array of string RedirectUris { get; set; } - Get/set redirect URIs accepted to return user to after auth
 - Array of string Scopes { get; set; } - Get/set scopes
 - (From object) TypeInformation TypeInformation { get;  } - Get information about this class.
 
Static Methods
- OidcAuthenticationFlow OidcAuthenticationFlow_createOrUpdate(string clientId "Oidc client id") - Create a new oidc client or update existing based on clientId
 - OidcAuthenticationFlow OidcAuthenticationFlow_getByClientId(string clientId "Oidc client id") - Get a single known client
 - Array of  OidcAuthenticationFlow OidcAuthenticationFlow_getList() - Get a list of clients, ordered by clientId