Repository URL to install this package:
|
Version:
4.0.109 ▾
|
ó
×{_c @ su d d l m Z d d l m Z d Z e j e d d d d Z e j d d e d d
g Z
d Z d Z d
S( iÿÿÿÿ( t loading( t cfgt service_usert titles) Service token authentication type optionst helpsÀ
Configuration options for service to service authentication using a service
token. These options allow sending a service token along with the user's token
when contacting external REST APIs.
t dmapi_send_service_user_tokent defaults
When True, if sending a user token to a REST API, also send a service token.
Dmapi often reuses the user token provided to the dmapi-api to talk to other REST
APIs, such as Cinder, Glance and Neutron. It is possible that while the user
token was valid when the request was made to Dmapi, the token may expire before
it reaches the other service. To avoid any failures, and to make it clear it is
Dmapi calling the service on the user's behalf, we include a service token along
with the user token. Should the user's token have expired, a valid service
token ensures the REST API request will still be accepted by the keystone
middleware.
c C sD | j t | j t d t t j | t t j | t d S( Nt group( t register_groupR t
register_optst service_user_optst
ks_loadingt register_session_conf_optionst SERVICE_USER_GROUPt register_auth_conf_options( t conf( ( s<