Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 854 for security2 (0.26 sec)

  1. fastapi/param_functions.py

        [FastAPI docs for Security](https://fastapi.tiangolo.com/tutorial/security/) and
        in the
        [FastAPI docs for OAuth2 scopes](https://fastapi.tiangolo.com/advanced/security/oauth2-scopes/).
    
        **Example**
    
        ```python
        from typing import Annotated
    
        from fastapi import Security, FastAPI
    
        from .db import User
        from .security import get_current_active_user
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    	if token != "" && cred.AccessKey == "" {
    		// x-amz-security-token is not allowed for anonymous access.
    		return nil, ErrNoAccessKey
    	}
    
    	if token == "" && cred.IsTemp() && !cred.IsServiceAccount() {
    		// Temporary credentials should always have x-amz-security-token
    		return nil, ErrInvalidToken
    	}
    
    	if token != "" && !cred.IsTemp() {
    		// x-amz-security-token should not present for static credentials.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

         *
         * @return the sessionFlags
         */
        public int getSessionFlags() {
            return this.sessionFlags;
        }
    
        /**
         * Gets the security blob from the session setup response
         *
         * @return security blob
         */
        public byte[] getBlob() {
            return this.blob;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  4. docs/multi-user/admin/README.md

    ## Explore Further
    
    - [MinIO Client Complete Guide](https://docs.min.io/community/minio-object-store/reference/minio-mc.html)
    - [MinIO STS Quickstart Guide](https://docs.min.io/community/minio-object-store/developers/security-token-service.html)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

        }
    
        /**
         * Returns the local security context.
         *
         * @return A <code>byte[]</code> containing the local security
         *         context. This is used by the client to negotiate local
         *         authentication.
         */
        public byte[] getContext() {
            return this.context;
        }
    
        /**
         * Sets the local security context. This is used by the client
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacTest.java

    import static org.mockito.Mockito.mockStatic;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.MockedStatic;
    
    class PacTest {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. .github/workflows/labeler.yml

          - labeler
        permissions:
          pull-requests: read
        runs-on: ubuntu-latest
        steps:
          - uses: docker://agilepathway/pull-request-label-checker:latest
            with:
              one_of: breaking,security,feature,bug,refactor,upgrade,docs,lang-all,internal
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 09 09:11:44 UTC 2025
    - 828 bytes
    - Viewed (1)
  8. docs_src/security/tutorial002_py39.py

    from typing import Union
    
    from fastapi import Depends, FastAPI
    from fastapi.security import OAuth2PasswordBearer
    from pydantic import BaseModel
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    def fake_decode_token(token):
        return User(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 755 bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // SessionId at +40 (sync header)
            SMBUtil.writeInt8(sessionId, buf, start + 40);
        }
    
        /**
         * Build a SESSION_SETUP response body with specified flags and security blob.
         * securityBufferOffset is set relative to header start.
         */
        private void buildSessionSetupBody(byte[] buf, int headerStart, int bodyStart, int sessionFlags, int secBufOffset, byte[] blob) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. docs_src/authentication_error_status_code/tutorial001_an_py39.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer
    
    app = FastAPI()
    
    
    class HTTPBearer403(HTTPBearer):
        def make_not_authenticated_error(self) -> HTTPException:
            return HTTPException(
                status_code=status.HTTP_403_FORBIDDEN, detail="Not authenticated"
            )
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 618 bytes
    - Viewed (0)
Back to top