- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 489 for _validate (0.11 sec)
-
docs_src/security/tutorial004_an_py39.py
return encoded_jwt async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]): credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username: str = payload.get("sub") if username is None:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
override fun getCreationTime(): Long { return delegate!!.creationTime } override fun getLastAccessedTime(): Long { return delegate!!.lastAccessedTime } override fun invalidate() { delegate!!.invalidate() } override fun isValid(): Boolean { return delegate!!.isValid } override fun putValue( s: String, o: Any, ) { delegate!!.putValue(s, o) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java
*/ protected BuildSummary(MavenProject project, long execTime, long wallTime) { this.project = Objects.requireNonNull(project, "project cannot be null"); // TODO Validate for < 0? this.execTime = execTime; this.wallTime = wallTime; } /** * Gets the project being summarized. * * @return The project being summarized, never {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
common-protos/k8s.io/api/authentication/v1/generated.proto
// BoundObjectRef is a reference to an object that the token will be bound to. // The token will only be valid for as long as the bound object exists. // NOTE: The API server's TokenReview endpoint will validate the // BoundObjectRef, but other audiences may not. Keep ExpirationSeconds // small if you want prompt revocation. // +optional optional BoundObjectReference boundObjectRef = 3; }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 6.7K bytes - Viewed (0) -
mvnw
fi ########################################################################################## # End of extension ########################################################################################## # If specified, validate the SHA-256 sum of the Maven wrapper jar file wrapperSha256Sum="" while IFS="=" read -r key value; do case "$key" in wrapperSha256Sum) wrapperSha256Sum=$value break ;; esac
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 14 22:24:15 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
@Secured({ ROLE }) public HtmlResponse editTags(final TagForm form) { validate(form, messages -> {}, () -> asEditTagsHtml(form.path, form.name)); saveToken(); return asEditTagsHtml(form.path, form.name); } @Execute @Secured({ ROLE }) public HtmlResponse updateTags(final TagForm form) { validate(form, messages -> {}, () -> asEditTagsHtml(form.path, form.name));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 19.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
assertThat(wrappedSet).isEqualTo(copyOfWrappedSet); // test that setToTest is still valid assertThat(setToTest).isEqualTo(wrappedSet); assertThat(setToTest).isEqualTo(copyOfWrappedSet); // invalidate setToTest wrappedSet.remove(1); // sanity check on update of wrappedSet assertThat(wrappedSet).isNotEqualTo(copyOfWrappedSet);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/xl-storage_windows_test.go
t.Error(err) } fs.Delete(context.Background(), "voldir", test.objName, DeleteOptions{ Recursive: false, Immediate: false, }) }) } } // Test to validate xlStorage behavior on windows when a non-final path component is a file. func TestUNCPathENOTDIR(t *testing.T) { // Instantiate posix object to manage a disk dir := t.TempDir() fs, err := newLocalXLStorage(dir)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java
// ------------- @Execute @Secured({ ROLE }) public HtmlResponse create(final CreateForm form) { verifyCrudMode(form.crudMode, CrudMode.CREATE); validate(form, messages -> {}, this::asEditHtml); verifyToken(this::asEditHtml); getRole(form).ifPresent(entity -> { try { roleService.store(entity);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.9K bytes - Viewed (0)