Don't add a "password required" notification for non-database auth via OIDC

This commit is contained in:
Joseph Schorr 2017-11-10 16:49:32 -05:00
parent d32139292b
commit 503cff8f0c
6 changed files with 30 additions and 1 deletions

View file

@ -174,6 +174,12 @@ class UserAuthentication(object):
"""
return self.state.federated_service
@property
def requires_distinct_cli_password(self):
""" Returns whether this auth system requires a distinct CLI password to be created,
in-system, before the CLI can be used. """
return self.state.requires_distinct_cli_password
@property
def supports_encrypted_credentials(self):
""" Returns whether this auth system supports using encrypted credentials. """