Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for jwtm (0.04 sec)

  1. internal/config/identity/openid/jwt_test.go

    	"encoding/json"
    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"sync"
    	"testing"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/config"
    	jwtm "github.com/minio/minio/internal/jwt"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    func TestUpdateClaimsExpiry(t *testing.T) {
    	testCases := []struct {
    		exp             any
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/security/oauth2-jwt.md

    ```
    
    JWT는 암호화되지 않아 누구든지 토큰에서 정보를 복원할 수 있습니다.
    
    하지만 JWT는 서명되어 있습니다. 그래서 자신이 발급한 토큰을 받았을 때, 실제로 자신이 발급한게 맞는지 검증할 수 있습니다.
    
    만료 기간이 일주일인 토큰을 발행했다고 가정해 봅시다. 다음 날 사용자가 토큰을 가져왔을 때, 그 사용자가 시스템에 여전히 로그인되어 있다는 것을 알 수 있습니다.
    
    일주일 뒤에는 토큰이 만료될 것이고, 사용자는 인가되지 않아 새 토큰을 받기 위해 다시 로그인해야 할 것입니다. 만약 사용자(또는 제3자)가 토큰을 수정하거나 만료일을 변경하면, 서명이 일치하지 않기 때문에 알아챌 수 있을 것입니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. cmd/jwt.go

    	"net/http"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	jwtreq "github.com/golang-jwt/jwt/v4/request"
    	"github.com/minio/minio/internal/auth"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    	defaultJWTExpiry = 24 * time.Hour
    
    	// Inter-node JWT token expiry is 100 years approx.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/oauth2-jwt.md

    Wenn Sie mit JWT-Tokens spielen und sehen möchten, wie sie funktionieren, schauen Sie sich <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a> an.
    
    ## `PyJWT` installieren { #install-pyjwt }
    
    Wir müssen `PyJWT` installieren, um die JWT-Tokens in Python zu generieren und zu verifizieren.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 01 15:19:54 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/security/oauth2-jwt.md

    Si quieres jugar con tokens JWT y ver cómo funcionan, revisa <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a>.
    
    ## Instalar `PyJWT` { #install-pyjwt }
    
    Necesitamos instalar `PyJWT` para generar y verificar los tokens JWT en Python.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/oauth2-jwt.md

    If you want to play with JWT tokens and see how they work, check <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a>.
    
    ## Install `PyJWT` { #install-pyjwt }
    
    We need to install `PyJWT` to generate and verify the JWT tokens in Python.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt.go

    package openid
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"sync"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/auth"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    )
    
    type publicKeys struct {
    	*sync.RWMutex
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/security/oauth2-jwt.md

    Если вы хотите поиграть с JWT-токенами и посмотреть, как они работают, посмотрите <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a>.
    
    ## Установка `PyJWT` { #install-pyjwt }
    
    Нам необходимо установить `pyjwt` для генерации и проверки JWT-токенов на языке Python.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/security/oauth2-jwt.md

    Se você quiser brincar com tokens JWT e ver como eles funcionam, visite <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a>.
    
    ## Instalar `PyJWT` { #install-pyjwt }
    
    Nós precisamos instalar o `PyJWT` para criar e verificar os tokens JWT em Python.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/security/oauth2-jwt.md

    そして、「ドライブ」(車の場合)や「編集」(ブログの場合)など、そのエンティティに関する権限も追加できます。
    
    また、JWTトークンをユーザー(またはボット)に渡すことができます。ユーザーは、JWTトークンを使用するだけで、アカウントを持っていなくても、APIが生成したJWTトークンを使ってそれらの行動(車の運転、ブログ投稿の編集)を実行できるのです。
    
    これらのアイデアを使用すると、JWTをより高度なシナリオに使用できます。
    
    しかしながら、それらのエンティティのいくつかが同じIDを持つ可能性があります。例えば、`foo`(ユーザー`foo`、車 `foo`、ブログ投稿`foo`)などです。
    
    IDの衝突を回避するために、ユーザーのJWTトークンを作成するとき、subキーの値にプレフィックスを付けることができます(例えば、`username:`)。したがって、この例では、`sub`の値は次のようになっている可能性があります:`username:johndoe`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14K bytes
    - Viewed (1)
Back to top