- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,798 for useSwr (0.07 seconds)
-
tests/tests_test.go
. "gorm.io/gorm/utils/tests" ) var DB *gorm.DB var ( mysqlDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local" postgresDSN = "user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai" gaussdbDSN = "user=gaussdb password=Gaussdb@123 dbname=gorm host=localhost port=9950 sslmode=disable TimeZone=Asia/Shanghai"
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 3.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/LocalUserCredential.java
/** * The credential for a local user. */ public class LocalUserCredential extends UserPasswordCredential implements FessCredential { /** * Creates a new LocalUserCredential with the specified user and password. * * @param user the username * @param password the password */ public LocalUserCredential(final String user, final String password) { super(user, password); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/SsoAuthenticator.java
*/ ActionResponse getResponse(SsoResponseType responseType); /** * Performs logout for the specified user. * @param user The user to logout. * @return The logout URL or null if not applicable. */ String logout(FessUserBean user);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.2K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.opensearch.user.exbhv; import java.util.Map; import java.util.regex.Pattern; import java.util.stream.Collectors; import org.codelibs.core.misc.Pair; import org.codelibs.fess.opensearch.user.bsbhv.BsRoleBhv; import org.codelibs.fess.opensearch.user.exentity.Role; import org.codelibs.fess.util.ComponentUtil;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.3K bytes - Click Count (0) -
internal/config/identity/openid/openid.go
return user, err } user, err = pCfg.provider.LookupUser(userid) } return user, err } // Without any specific logic for a provider, all accounts // are always enabled. return provider.User{ID: userid, Enabled: true}, nil } // ProviderEnabled returns true if any vendor specific provider is enabled.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.3K bytes - Click Count (0) -
cmd/sftp-server.go
user, found := strings.CutSuffix(c.User(), "=ldap") if found { if !globalIAMSys.LDAPConfig.Enabled() { return nil, errSFTPLDAPNotEnabled } return processLDAPAuthentication(key, pass, user) } user, found = strings.CutSuffix(c.User(), "=svc") if found { goto internalAuth }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.5K bytes - Click Count (0) -
helm-releases/minio-4.0.15.tgz
echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'"...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 21 11:07:01 GMT 2022 - 20K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
} @Test public void test_constructor() { // Test constructor initializes fields correctly LdapUser user = new LdapUser(testEnv, "username"); assertEquals("username", user.getName()); assertSame(testEnv, user.getEnvironment()); assertNull(user.permissions); } @Test public void test_getName() { // Test getName returns the correct nameCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.9K bytes - Click Count (0) -
tests/test_dependency_contextvars.py
): response = await call_next(request) response.headers["custom"] = "foo" return response @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)]) def get_user(): request_state = legacy_request_state_context_var.get() assert request_state return request_state["user"] client = TestClient(app) def test_dependency_contextvars(): """Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 1.5K bytes - Click Count (0) -
schema/constraint_test.go
type UserUnique struct { Name1 string `gorm:"unique"` Name2 string `gorm:"uniqueIndex"` } user, err := schema.Parse(&UserUnique{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user unique, got error %v", err) } constraints := user.ParseUniqueConstraints() results := map[string]schema.UniqueConstraint{ "uni_user_uniques_name1": {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Feb 04 07:49:19 GMT 2024 - 2.2K bytes - Click Count (0)