- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 282 for Scopes (0.08 sec)
-
docs/de/docs/advanced/security/oauth2-scopes.md
## Abhängigkeitsbaum und Scopes Sehen wir uns diesen Abhängigkeitsbaum und die Scopes noch einmal an. Da die Abhängigkeit `get_current_active_user` von `get_current_user` abhängt, wird der bei `get_current_active_user` deklarierte Scope `"me"` in die Liste der erforderlichen Scopes in `security_scopes.scopes` aufgenommen, das an `get_current_user` übergeben wird.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 15.1K bytes - Viewed (0) -
docs/pt/docs/advanced/security/oauth2-scopes.md
/// tip | Dica A coisa importante e "mágica" aqui é que `get_current_user` terá diferentes listas de `scopes` para validar para cada *operação de rota*.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 14.5K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
Nevertheless, you still enforce those scopes, or any other security/authorization requirement, however you need, in your code. In many cases, OAuth2 with scopes can be an overkill. But if you know you need it, or you are curious, keep reading. /// ## OAuth2 scopes and OpenAPI { #oauth2-scopes-and-openapi }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 13.5K bytes - Viewed (0) -
docs/es/docs/advanced/security/oauth2-scopes.md
Todavía estamos usando el mismo `OAuth2PasswordRequestForm`. Incluye una propiedad `scopes` con una `list` de `str`, con cada scope que recibió en el request. Y devolvemos los scopes como parte del token JWT. /// danger | Peligro Para simplificar, aquí solo estamos añadiendo los scopes recibidos directamente al token.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 13.8K bytes - Viewed (0) -
docs/em/docs/advanced/security/oauth2-scopes.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:03:10 UTC 2025 - 10.8K bytes - Viewed (0) -
chainable_api.go
scopes := db.Statement.scopes db.Statement.scopes = nil for _, scope := range scopes { db = scope(db) } return db } // Preload preload associations with given conditions // // // get all users, and preload all non-cancelled orders // db.Preload("Orders", "state NOT IN (?)", "cancelled").Find(&users) func (db *DB) Preload(query string, args ...interface{}) (tx *DB) { tx = db.getInstance()
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 14.8K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
<img src="/img/tutorial/security/image10.png"> /// note Notice the header `Authorization`, with a value that starts with `Bearer `. /// ## Advanced usage with `scopes` { #advanced-usage-with-scopes } OAuth2 has the notion of "scopes". You can use them to add a specific set of permissions to a JWT token.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 10.5K bytes - Viewed (0) -
generics.go
return chainG[T]{ execG: execG[T]{g: &g[T]{ db: c.g.db, ops: append(append([]op(nil), c.g.ops...), v), }}, } } func (c chainG[T]) Scopes(scopes ...func(db *Statement)) ChainInterface[T] { return c.with(func(db *DB) *DB { for _, fc := range scopes { fc(db.Statement) } return db }) } func (c chainG[T]) Table(name string, args ...interface{}) ChainInterface[T] {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 15.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/simple-oauth2.md
### Oбласть видимости (scope) В спецификации также говорится, что клиент может передать еще одно поле формы "`scope`". Имя поля формы - `scope` (в единственном числе), но на самом деле это длинная строка, состоящая из отдельных областей видимости (scopes), разделенных пробелами. Каждая "область видимости" (scope) - это просто строка (без пробелов).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 10 10:53:40 UTC 2024 - 16.4K bytes - Viewed (0) -
docs/de/docs/tutorial/security/oauth2-jwt.md
/// note | Hinweis Beachten Sie den Header `Authorization` mit einem Wert, der mit `Bearer` beginnt. /// ## Fortgeschrittene Verwendung mit `scopes` OAuth2 hat ein Konzept von <abbr title="Geltungsbereiche">„Scopes“</abbr>. Sie können diese verwenden, um einem JWT-Token einen bestimmten Satz von Berechtigungen zu übergeben.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 12.1K bytes - Viewed (0)