Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 277 for Authentication (0.1 sec)

  1. tests/test_security_http_basic_realm.py

        )
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
        assert response.json() == {"detail": "Invalid authentication credentials"}
    
    
    def test_security_http_basic_non_basic_credentials():
        payload = b64encode(b"johnsecret").decode("ascii")
        auth_header = f"Basic {payload}"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial006_an_py39.py

        )
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == "Basic"
        assert response.json() == {"detail": "Invalid authentication credentials"}
    
    
    @needs_py39
    def test_security_http_basic_non_basic_credentials(client: TestClient):
        payload = b64encode(b"johnsecret").decode("ascii")
        auth_header = f"Basic {payload}"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. tests/test_security_http_basic_realm_description.py

        )
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
        assert response.json() == {"detail": "Invalid authentication credentials"}
    
    
    def test_security_http_basic_non_basic_credentials():
        payload = b64encode(b"johnsecret").decode("ascii")
        auth_header = f"Basic {payload}"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/Handler.java

    import java.util.HashMap;
    import java.util.Map;
    import java.util.StringTokenizer;
    
    /**
     * A <code>URLStreamHandler</code> used to provide NTLM authentication
     * capabilities to the default HTTP handler.  This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * The default HTTP port (<code>80</code>).
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  5. docs/en/data/external_links.yml

    915 title: Deploying a scikit-learn model with ONNX and FastAPI - author: Nils de Bruin author_link: https://medium.com/@nilsdebruin link: https://medium.com/data-rebels/fastapi-authentication-revisited-enabling-api-key-authentication-122dc5975680 title: 'FastAPI authentication revisited: Enabling API key authentication' - author: Nick Cortale author_link: https://nickc1.github.io/ link: https://nickc1.github.io/api,/scikit-learn/2019/01/10/scikit-fastapi.html title: 'FastAPI and Scikit-Learn: Easily...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:39:34 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

    import org.codelibs.fess.app.service.RequestHeaderService;
    import org.codelibs.fess.app.service.WebAuthenticationService;
    import org.codelibs.fess.crawler.client.CrawlerClientFactory;
    import org.codelibs.fess.crawler.client.http.Authentication;
    import org.codelibs.fess.crawler.client.http.HcHttpClient;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.mylasta.direction.FessProp;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

    import jcifs.util.Crypto;
    import jcifs.util.Hexdump;
    
    
    /**
     * For initiating NTLM authentication (including NTLMv2). If you want to add NTLMv2 authentication support to something
     * this is what you want to use. See the code for details. Note that JCIFS does not implement the acceptor side of NTLM
     * authentication.
     * 
     */
    public class NtlmContext implements SSPContext {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/first-steps.md

    The `password` "flow" is one of the ways ("flows") defined in OAuth2, to handle security and authentication.
    
    OAuth2 was designed so that the backend or API could be independent of the server that authenticates the user.
    
    But in this case, the same **FastAPI** application will handle the API and the authentication.
    
    So, let's review it from that simplified point of view:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            }
    
            // Authentication
            final Authentication[] siteCredentialList =
                    getInitParameter(AUTHENTICATIONS_PROPERTY, new Authentication[0], Authentication[].class);
            final List<Pair<FormScheme, Credentials>> formSchemeList = new ArrayList<>();
            for (final Authentication authentication : siteCredentialList) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmServlet.java

     * properties are be specified. <b>With later containers the
     * <tt>NtlmHttpFilter</tt> should be used/b>. For custom NTLM HTTP Authentication schemes the <tt>NtlmSsp</tt> may be used.
     * <p>
     * Read <a href="../../../ntlmhttpauth.html">jCIFS NTLM HTTP Authentication and the Network Explorer Servlet</a> related information.
     */
    
    public abstract class NtlmServlet extends HttpServlet {
    
        private String defaultDomain;
    
        private String domainController;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
Back to top