"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/token/provider.py" between
keystone-16.0.0.tar.gz and keystone-16.0.1.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Train" series (latest release).

provider.py  (keystone-16.0.0):provider.py  (keystone-16.0.1)
skipping to change at line 171 skipping to change at line 171
if len(audit_ids) > 1: if len(audit_ids) > 1:
token.parent_audit_id = audit_ids.pop() token.parent_audit_id = audit_ids.pop()
token.audit_id = audit_ids.pop() token.audit_id = audit_ids.pop()
token.system = system token.system = system
token.domain_id = domain_id token.domain_id = domain_id
token.project_id = project_id token.project_id = project_id
token.trust_id = trust_id token.trust_id = trust_id
token.access_token_id = access_token_id token.access_token_id = access_token_id
token.application_credential_id = app_cred_id token.application_credential_id = app_cred_id
token.expires_at = expires_at token.expires_at = expires_at
if federated_group_ids: if federated_group_ids is not None:
token.is_federated = True token.is_federated = True
token.identity_provider_id = identity_provider_id token.identity_provider_id = identity_provider_id
token.protocol_id = protocol_id token.protocol_id = protocol_id
token.federated_groups = federated_group_ids token.federated_groups = federated_group_ids
token.mint(token_id, issued_at) token.mint(token_id, issued_at)
return token return token
def _is_valid_token(self, token, window_seconds=0): def _is_valid_token(self, token, window_seconds=0):
"""Verify the token is valid format and has not expired.""" """Verify the token is valid format and has not expired."""
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)