Generate FederationBaseAuth constructor parameters

The parameter documentation didn't make it into the generated
docs so nobody could use this class.

Change-Id: If264804f513b07b1253bd73698ef14891f94c0a9
This commit is contained in:
Brant Knudson 2016-03-01 14:33:10 -06:00
parent 2e951b7670
commit ee85077a98

View File

@ -80,9 +80,7 @@ class _Rescoped(base.BaseAuth):
class FederationBaseAuth(_Rescoped):
def __init__(self, auth_url, identity_provider, protocol, **kwargs):
"""Class constructor accepting following parameters:
"""Federation authentication plugin.
:param auth_url: URL of the Identity Service
:type auth_url: string
@ -96,6 +94,8 @@ class FederationBaseAuth(_Rescoped):
:type protocol: string
"""
def __init__(self, auth_url, identity_provider, protocol, **kwargs):
super(FederationBaseAuth, self).__init__(auth_url=auth_url, **kwargs)
self.identity_provider = identity_provider
self.protocol = protocol