You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The default column name to in the data reader which will be used to read the value to determine the success or failure of the login operation.
@@ -31,19 +20,19 @@ public class NpgsqlRestAuthenticationOptions(
31
20
/// - If this column is not present, it must be either a boolean to indicate success or a numeric value to indicate the HTTP Status Code to return.
32
21
/// - If this column is present and retrieves a numeric value, that value is assigned to the HTTP Status Code and the login will authenticate only when this value is 200.
/// The default column name to in the data reader which will be used to read the value of the authentication scheme of the login process.
38
27
///
39
28
/// If this column is not present in the login response the default authentication scheme is used. Return new value to use a different authentication scheme with the login endpoint.
/// Any columns retrieved from the reader during login, which don't have a name in `StatusColumnName` or `SchemeColumnName` will be used to create a new identity `Claim`:
@@ -54,7 +43,7 @@ public class NpgsqlRestAuthenticationOptions(
54
43
///
55
44
/// For example, column name `NameIdentifier` or `name_identifier` (when transformed by the default name transformer) will match the key `NameIdentifier` which translates to this: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier
/// Claim type value used to retrieve the user name. The user name is exposed as the default name with the `Name` property on the user identity.
@@ -63,13 +52,13 @@ public class NpgsqlRestAuthenticationOptions(
63
52
///
64
53
/// The default is the Active Directory Federation Services Claim Type Role property with value [`http://schemas.microsoft.com/ws/2008/06/identity/claims/role`(https://learn.microsoft.com/en-us/dotnet/api/system.security.claims.claimtypes.role?view=net-8.0#system-security-claims-claimtypes-role)
/// Callback function that is executed just after the new endpoint is created. Receives routine into and new endpoint info as parameters and it is expected to return the same endpoint or `null`. It offers an opportunity to modify the endpoint based on custom logic or disable endpoints by returning `null` based on some custom logic. Default is `null`, which means this callback is not defined.
117
+
/// Callback function that is executed just after the new endpoint is created. Set the RoutineEndpoint to nullto disable endpoint.
/// When the endpoint has set Upload to true, this dictionary will be used to find the upload handlers for the current request.
333
+
/// Handler will be located by the key values from the endpoint UploadHandlers string array property if set or by the default upload handler (DefaultUploadHandler option).
334
+
/// Set this option to null to use default upload handler from the UploadHandlerOptions property.
335
+
/// Set this option to empty dictionary to disable upload handlers.
336
+
/// Set this option to a dictionary with one or more upload handlers to enable your own custom upload handlers.
0 commit comments