Flask-RESTful Documentation Release 0.3.10is provided, then the error message will be the value of help. help may include an interpolation token, {error_msg}, that will be replaced with the string representation of the type error. This allows will be added to all method functions in resource. For instance, if you want to build custom authentication into every request. def authenticate(func): @wraps(func) def wrapper(*args, **kwargs): getattr(func, 'authenticated', True): return func(*args, **kwargs) acct = basic_authentication() # custom account lookup function if acct: return func(*args, **kwargs)0 码力 | 42 页 | 84.60 KB | 1 年前3
Référence Debian v2.124*ldap’ p libnss-ldap - NSS module for using LDAP as a naming service p libpam-ldap - Pluggable Authentication Module allowing LDAP interfaces Il vous est assez facile de trouver le nom exact d’un paquet L’authentification normale d’UNIX est fournie par le module pam_unix(8) avec PAM (Pluggable Authentication Modules : « Modules attachables d’authentification ») . Il y a trois fichiers de configuration modernes semblable à UNIX, comme le système Debian, fournissent les mécanismes PAM (Pluggable Authentication Modules) et NSS (Name Service Switch) pour la configuration du système par l’administrateur local0 码力 | 279 页 | 1.47 MB | 1 年前3
Click Documentation
Release 4.2.dev0callback=open_url) def cli(url): if url is not None: click.echo('%s: %s' % (url.url, url.fp.code)) 1.11.3 Token Normalization New in version 2.0. Starting with Click 2.0, it’s possible to provide a function that function that performs the normalization of the token. For instance, you could have a function that converts the token to lowercase: CONTEXT_SETTINGS = dict(token_normalize_func=lambda x: x.lower()) @click allow_extra_args=None, allow_interspersed_args=None, ignore_unknown_options=None, help_option_names=None, token_normalize_func=None, color=None) The context is a special internal object that holds state relevant0 码力 | 101 页 | 407.32 KB | 1 年前3
PlantUML 1.2019.6 Guide de référence du langagediagrammes. @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 Déclaration declare: participant L as "I have a really\nlong name" #99FF99 '/ Alice->Bob: Authentication Request Bob->Alice: Authentication Response Bob->L: Log transaction @enduml Vous pouvez utiliser le mot-clé order automatiquement des numéros aux messages. @startuml autonumber Bob -> Alice : Authentication Request Bob <- Alice : Authentication Response @enduml Guide de référence du langage PlantUML (1.2019.6) 4 / 1730 码力 | 174 页 | 1.91 MB | 1 年前3
PlantUML 1.2019.1 Guide de référence du langagediagrammes. @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 Déclaration declare: participant L as "I have a really\nlong name" #99FF99 '/ Alice->Bob: Authentication Request Bob->Alice: Authentication Response Bob->L: Log transaction @enduml Vous pouvez utiliser le mot-clé order automatiquement des numéros aux messages. @startuml autonumber Bob -> Alice : Authentication Request Bob <- Alice : Authentication Response @enduml Guide de référence du langage PlantUML (1.2019.1) 4 / 1460 码力 | 147 页 | 1.85 MB | 1 年前3
PlantUML 1.2019.9 Guide de référence du langagediagrammes. @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 Déclaration declare: participant L as "I have a really\nlong name" #99FF99 '/ Alice->Bob: Authentication Request Bob->Alice: Authentication Response Bob->L: Log transaction @enduml Vous pouvez utiliser le mot-clé order automatiquement des numéros aux messages. @startuml autonumber Bob -> Alice : Authentication Request Bob <- Alice : Authentication Response @enduml Guide de référence du langage PlantUML (1.2019.9) 4 / 1730 码力 | 174 页 | 1.93 MB | 1 年前3
PlantUML 1.2019.4 Guide de référence du langagediagrammes. @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 Déclaration declare: participant L as "I have a really\nlong name" #99FF99 '/ Alice->Bob: Authentication Request Bob->Alice: Authentication Response Bob->L: Log transaction @enduml Vous pouvez utiliser le mot-clé order automatiquement des numéros aux messages. @startuml autonumber Bob -> Alice : Authentication Request Bob <- Alice : Authentication Response @enduml Guide de référence du langage PlantUML (1.2019.4) 4 / 1670 码力 | 168 页 | 1.83 MB | 1 年前3
PlantUML 1.2019.3 Guide de référence du langagediagrammes. @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 Déclaration declare: participant L as "I have a really\nlong name" #99FF99 '/ Alice->Bob: Authentication Request Bob->Alice: Authentication Response Bob->L: Log transaction @enduml Vous pouvez utiliser le mot-clé order automatiquement des numéros aux messages. @startuml autonumber Bob -> Alice : Authentication Request Bob <- Alice : Authentication Response @enduml Guide de référence du langage PlantUML (1.2019.3) 4 / 1590 码力 | 160 页 | 1.72 MB | 1 年前3
PlantUML 1.2019.2 Guide de référence du langagediagrammes. @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 Déclaration declare: participant L as "I have a really\nlong name" #99FF99 '/ Alice->Bob: Authentication Request Bob->Alice: Authentication Response Bob->L: Log transaction @enduml Vous pouvez utiliser le mot-clé order automatiquement des numéros aux messages. @startuml autonumber Bob -> Alice : Authentication Request Bob <- Alice : Authentication Response @enduml Guide de référence du langage PlantUML (1.2019.2) 4 / 1590 码力 | 160 页 | 1.72 MB | 1 年前3
PlantUML 1.2020.23 Guide de référence du langagediagrammes. @startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response @enduml 1.2 Déclaration declare: participant L as "I have a really\nlong name" #99FF99 '/ Alice->Bob: Authentication Request Bob->Alice: Authentication Response Bob->L: Log transaction @enduml Vous pouvez utiliser le mot-clé order automatiquement des numéros aux messages. @startuml autonumber Bob -> Alice : Authentication Request Bob <- Alice : Authentication Response @enduml Spécifier le numéro de départ avec autonumber //start//0 码力 | 308 页 | 3.12 MB | 1 年前3
共 16 条
- 1
- 2













