Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 770 for security (0.13 sec)

  1. src/main/java/jcifs/internal/smb1/com/ServerData.java

        public int sflags2;
        public int smaxMpxCount;
        public int maxBufferSize;
        public int sessKey;
        public int scapabilities;
        public String oemDomainName;
        public int securityMode;
        public int security;
        public boolean encryptedPasswords;
        public boolean signaturesEnabled;
        public boolean signaturesRequired;
        public int maxNumberVcs;
        public int maxRawSize;
        public long serverTime;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  2. fastapi/dependencies/models.py

    from dataclasses import dataclass, field
    from typing import Any, Callable, List, Optional, Sequence, Tuple
    
    from fastapi._compat import ModelField
    from fastapi.security.base import SecurityBase
    
    
    @dataclass
    class SecurityRequirement:
        security_scheme: SecurityBase
        scopes: Optional[Sequence[str]] = None
    
    
    @dataclass
    class Dependant:
        path_params: List[ModelField] = field(default_factory=list)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 20:19:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/security/oauth2-jwt.md

    新しいアクセストークンを生成するユーティリティ関数を作成します。
    
    ```Python hl_lines="6  12-14  28-30  78-86"
    {!../../docs_src/security/tutorial004.py!}
    ```
    
    ## 依存関係の更新
    
    `get_current_user`を更新して、先ほどと同じトークンを受け取るようにしますが、今回はJWTトークンを使用します。
    
    受け取ったトークンを復号して検証し、現在のユーザーを返します。
    
    トークンが無効な場合は、すぐにHTTPエラーを返します。
    
    ```Python hl_lines="89-106"
    {!../../docs_src/security/tutorial004.py!}
    ```
    
    ## `/token` パスオペレーションの更新
    
    トークンの有効期限を表す`timedelta`を作成します。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (1)
  4. docs/en/docs/management-tasks.md

    * `breaking`: Breaking Changes
        * Existing code will break if they update the version without changing their code. This rarely happens, so this label is not frequently used.
    * `security`: Security Fixes
        * This is for security fixes, like vulnerabilities. It would almost never be used.
    * `feature`: Features
        * New features, adding support for things that didn't exist before.
    * `bug`: Fixes
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 21:56:33 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.slack;
    
    import java.io.Closeable;
    import java.io.IOException;
    import java.security.SecureRandom;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import okhttp3.HttpUrl;
    import okhttp3.mockwebserver.Dispatcher;
    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    
    import java.nio.charset.StandardCharsets;
    import java.security.GeneralSecurityException;
    import java.security.MessageDigest;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import javax.crypto.Cipher;
    
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    import org.bouncycastle.util.Arrays;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/handling-errors.md

    The benefit of raising an exception over `return`ing a value will be more evident in the section about Dependencies and Security.
    
    In this example, when the client requests an item by an ID that doesn't exist, raise an exception with a status code of `404`:
    
    ```Python hl_lines="11"
    {!../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/CertificatesJavaTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.tls;
    
    import java.security.cert.X509Certificate;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public class CertificatesJavaTest {
      @Test
      public void testRoundtrip() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Nov 20 02:23:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpServletRequest.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.http;
    
    
    import java.security.Principal;
    
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletRequestWrapper;
    
    
    class NtlmHttpServletRequest extends HttpServletRequestWrapper {
    
        Principal principal;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  10. internal/kms/context.go

    			case '\t':
    				dst.WriteByte('t')
    			default:
    				// This encodes bytes < 0x20 except for \t, \n and \r.
    				// If escapeHTML is set, it also escapes <, >, and &
    				// because they can lead to security holes when
    				// user-controlled strings are rendered into JSON
    				// and served to some browsers.
    				dst.WriteString(`u00`)
    				dst.WriteByte(hexTable[b>>4])
    				dst.WriteByte(hexTable[b&0xF])
    			}
    			i++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 6K bytes
    - Viewed (0)
Back to top