Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for xjwt (0.03 sec)

  1. cmd/jwt_test.go

    package cmd
    
    import (
    	"context"
    	"net/http"
    	"os"
    	"testing"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	xjwt "github.com/minio/minio/internal/jwt"
    )
    
    func getTokenString(accessKey, secretKey string) (string, error) {
    	claims := xjwt.NewMapClaims()
    	claims.SetExpiry(UTCNow().Add(defaultJWTExpiry))
    	claims.SetAccessKey(accessKey)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. cmd/auth-handler.go

    	"github.com/minio/minio/internal/etag"
    	"github.com/minio/minio/internal/hash"
    	xhttp "github.com/minio/minio/internal/http"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // Verify if request has JWT.
    func isRequestJWT(r *http.Request) bool {
    	return strings.HasPrefix(r.Header.Get(xhttp.Authorization), jwtAlgorithm)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    	"github.com/minio/minio/internal/grid"
    	"github.com/tinylib/msgp/msgp"
    
    	jwtreq "github.com/golang-jwt/jwt/v4/request"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	xnet "github.com/minio/pkg/v3/net"
    )
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  5. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/security/oauth2-jwt.md

    Da wir nun über den gesamten Sicherheitsablauf verfügen, machen wir die Anwendung tatsächlich sicher, indem wir <abbr title="JSON Web Tokens">JWT</abbr>-Tokens und sicheres Passwort-Hashing verwenden.
    
    Diesen Code können Sie tatsächlich in Ihrer Anwendung verwenden, die Passwort-Hashes in Ihrer Datenbank speichern, usw.
    
    Wir bauen auf dem vorherigen Kapitel auf.
    
    ## Über JWT
    
    JWT bedeutet „JSON Web Tokens“.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. 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`
    
    Necesitamos instalar `PyJWT` para generar y verificar los tokens JWT en Python.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.9K 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`
    
    Нам необходимо установить `pyjwt` для генерации и проверки JWT-токенов на языке Python.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/security/oauth2-jwt.md

    Agora que temos todo o fluxo de segurança, vamos tornar a aplicação realmente segura, usando tokens <abbr title="JSON Web Tokens">JWT</abbr> e hashing de senhas seguras.
    
    Este código é algo que você pode realmente usar na sua aplicação, salvar os hashes das senhas no seu banco de dados, etc.
    
    Vamos começar de onde paramos no capítulo anterior e incrementá-lo.
    
    ## Sobre o JWT
    
    JWT significa "JSON Web Tokens".
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/security/oauth2-jwt.md

    # 패스워드 해싱을 이용한 OAuth2, JWT 토큰을 사용하는 Bearer 인증
    
    모든 보안 흐름을 구성했으므로, 이제 <abbr title="JSON Web Tokens">JWT</abbr> 토큰과 패스워드 해싱을 사용해 애플리케이션을 안전하게 만들 것입니다.
    
    이 코드는 실제로 애플리케이션에서 패스워드를 해싱하여 DB에 저장하는 등의 작업에 활용할 수 있습니다.
    
    이전 장에 이어서 시작해 봅시다.
    
    ## JWT
    
    JWT 는 "JSON Web Tokens" 을 의미합니다.
    
    JSON 객체를 공백이 없는 긴 문자열로 인코딩하는 표준이며, 다음과 같은 형태입니다:
    
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top