fix bandit complains
Since 'access_token' literal is not an actual token, we can safely mark it as false positive so bandit can stop chirping. Change-Id: Ib035b67fe8ec9185507929bf982cf18636411c08
This commit is contained in:
parent
aafc90a9c2
commit
81f9e07879
|
@ -287,7 +287,7 @@ class OidcPassword(_OidcBase):
|
|||
|
||||
grant_type = "password"
|
||||
|
||||
def __init__(self, auth_url, identity_provider, protocol,
|
||||
def __init__(self, auth_url, identity_provider, protocol, # nosec
|
||||
client_id, client_secret,
|
||||
access_token_endpoint=None,
|
||||
discovery_endpoint=None,
|
||||
|
@ -335,7 +335,7 @@ class OidcClientCredentials(_OidcBase):
|
|||
|
||||
grant_type = 'client_credentials'
|
||||
|
||||
def __init__(self, auth_url, identity_provider, protocol,
|
||||
def __init__(self, auth_url, identity_provider, protocol, # nosec
|
||||
client_id, client_secret,
|
||||
access_token_endpoint=None,
|
||||
discovery_endpoint=None,
|
||||
|
@ -378,7 +378,7 @@ class OidcAuthorizationCode(_OidcBase):
|
|||
|
||||
grant_type = 'authorization_code'
|
||||
|
||||
def __init__(self, auth_url, identity_provider, protocol,
|
||||
def __init__(self, auth_url, identity_provider, protocol, # nosec
|
||||
client_id, client_secret,
|
||||
access_token_endpoint=None,
|
||||
discovery_endpoint=None,
|
||||
|
|
Loading…
Reference in New Issue