Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ class IdentityProviderBaseParameters(Model):
:param type: Identity Provider Type identifier. Possible values include:
'facebook', 'google', 'microsoft', 'twitter', 'aad', 'aadB2C'
:type type: str or ~azure.mgmt.apimanagement.models.IdentityProviderType
:param signin_tenant: The TenantId to use instead of Common when logging
into Active Directory
:type signin_tenant: str
:param allowed_tenants: List of Allowed Tenants when configuring Azure
Active Directory login.
:type allowed_tenants: list[str]
Expand Down Expand Up @@ -48,6 +51,7 @@ class IdentityProviderBaseParameters(Model):

_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'signin_tenant': {'key': 'signinTenant', 'type': 'str'},
'allowed_tenants': {'key': 'allowedTenants', 'type': '[str]'},
'authority': {'key': 'authority', 'type': 'str'},
'signup_policy_name': {'key': 'signupPolicyName', 'type': 'str'},
Expand All @@ -59,6 +63,7 @@ class IdentityProviderBaseParameters(Model):
def __init__(self, **kwargs):
super(IdentityProviderBaseParameters, self).__init__(**kwargs)
self.type = kwargs.get('type', None)
self.signin_tenant = kwargs.get('signin_tenant', None)
self.allowed_tenants = kwargs.get('allowed_tenants', None)
self.authority = kwargs.get('authority', None)
self.signup_policy_name = kwargs.get('signup_policy_name', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ class IdentityProviderBaseParameters(Model):
:param type: Identity Provider Type identifier. Possible values include:
'facebook', 'google', 'microsoft', 'twitter', 'aad', 'aadB2C'
:type type: str or ~azure.mgmt.apimanagement.models.IdentityProviderType
:param signin_tenant: The TenantId to use instead of Common when logging
into Active Directory
:type signin_tenant: str
:param allowed_tenants: List of Allowed Tenants when configuring Azure
Active Directory login.
:type allowed_tenants: list[str]
Expand Down Expand Up @@ -48,6 +51,7 @@ class IdentityProviderBaseParameters(Model):

_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'signin_tenant': {'key': 'signinTenant', 'type': 'str'},
'allowed_tenants': {'key': 'allowedTenants', 'type': '[str]'},
'authority': {'key': 'authority', 'type': 'str'},
'signup_policy_name': {'key': 'signupPolicyName', 'type': 'str'},
Expand All @@ -56,9 +60,10 @@ class IdentityProviderBaseParameters(Model):
'password_reset_policy_name': {'key': 'passwordResetPolicyName', 'type': 'str'},
}

def __init__(self, *, type=None, allowed_tenants=None, authority: str=None, signup_policy_name: str=None, signin_policy_name: str=None, profile_editing_policy_name: str=None, password_reset_policy_name: str=None, **kwargs) -> None:
def __init__(self, *, type=None, signin_tenant: str=None, allowed_tenants=None, authority: str=None, signup_policy_name: str=None, signin_policy_name: str=None, profile_editing_policy_name: str=None, password_reset_policy_name: str=None, **kwargs) -> None:
super(IdentityProviderBaseParameters, self).__init__(**kwargs)
self.type = type
self.signin_tenant = signin_tenant
self.allowed_tenants = allowed_tenants
self.authority = authority
self.signup_policy_name = signup_policy_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class IdentityProviderContract(Resource):
'aad', 'aadB2C'
:type identity_provider_contract_type: str or
~azure.mgmt.apimanagement.models.IdentityProviderType
:param signin_tenant: The TenantId to use instead of Common when logging
into Active Directory
:type signin_tenant: str
:param allowed_tenants: List of Allowed Tenants when configuring Azure
Active Directory login.
:type allowed_tenants: list[str]
Expand Down Expand Up @@ -78,6 +81,7 @@ class IdentityProviderContract(Resource):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'identity_provider_contract_type': {'key': 'properties.type', 'type': 'str'},
'signin_tenant': {'key': 'properties.signinTenant', 'type': 'str'},
'allowed_tenants': {'key': 'properties.allowedTenants', 'type': '[str]'},
'authority': {'key': 'properties.authority', 'type': 'str'},
'signup_policy_name': {'key': 'properties.signupPolicyName', 'type': 'str'},
Expand All @@ -91,6 +95,7 @@ class IdentityProviderContract(Resource):
def __init__(self, **kwargs):
super(IdentityProviderContract, self).__init__(**kwargs)
self.identity_provider_contract_type = kwargs.get('identity_provider_contract_type', None)
self.signin_tenant = kwargs.get('signin_tenant', None)
self.allowed_tenants = kwargs.get('allowed_tenants', None)
self.authority = kwargs.get('authority', None)
self.signup_policy_name = kwargs.get('signup_policy_name', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class IdentityProviderContract(Resource):
'aad', 'aadB2C'
:type identity_provider_contract_type: str or
~azure.mgmt.apimanagement.models.IdentityProviderType
:param signin_tenant: The TenantId to use instead of Common when logging
into Active Directory
:type signin_tenant: str
:param allowed_tenants: List of Allowed Tenants when configuring Azure
Active Directory login.
:type allowed_tenants: list[str]
Expand Down Expand Up @@ -78,6 +81,7 @@ class IdentityProviderContract(Resource):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'identity_provider_contract_type': {'key': 'properties.type', 'type': 'str'},
'signin_tenant': {'key': 'properties.signinTenant', 'type': 'str'},
'allowed_tenants': {'key': 'properties.allowedTenants', 'type': '[str]'},
'authority': {'key': 'properties.authority', 'type': 'str'},
'signup_policy_name': {'key': 'properties.signupPolicyName', 'type': 'str'},
Expand All @@ -88,9 +92,10 @@ class IdentityProviderContract(Resource):
'client_secret': {'key': 'properties.clientSecret', 'type': 'str'},
}

def __init__(self, *, client_id: str, client_secret: str, identity_provider_contract_type=None, allowed_tenants=None, authority: str=None, signup_policy_name: str=None, signin_policy_name: str=None, profile_editing_policy_name: str=None, password_reset_policy_name: str=None, **kwargs) -> None:
def __init__(self, *, client_id: str, client_secret: str, identity_provider_contract_type=None, signin_tenant: str=None, allowed_tenants=None, authority: str=None, signup_policy_name: str=None, signin_policy_name: str=None, profile_editing_policy_name: str=None, password_reset_policy_name: str=None, **kwargs) -> None:
super(IdentityProviderContract, self).__init__(**kwargs)
self.identity_provider_contract_type = identity_provider_contract_type
self.signin_tenant = signin_tenant
self.allowed_tenants = allowed_tenants
self.authority = authority
self.signup_policy_name = signup_policy_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ class IdentityProviderUpdateParameters(Model):
:param type: Identity Provider Type identifier. Possible values include:
'facebook', 'google', 'microsoft', 'twitter', 'aad', 'aadB2C'
:type type: str or ~azure.mgmt.apimanagement.models.IdentityProviderType
:param signin_tenant: The TenantId to use instead of Common when logging
into Active Directory
:type signin_tenant: str
:param allowed_tenants: List of Allowed Tenants when configuring Azure
Active Directory login.
:type allowed_tenants: list[str]
Expand Down Expand Up @@ -59,6 +62,7 @@ class IdentityProviderUpdateParameters(Model):

_attribute_map = {
'type': {'key': 'properties.type', 'type': 'str'},
'signin_tenant': {'key': 'properties.signinTenant', 'type': 'str'},
'allowed_tenants': {'key': 'properties.allowedTenants', 'type': '[str]'},
'authority': {'key': 'properties.authority', 'type': 'str'},
'signup_policy_name': {'key': 'properties.signupPolicyName', 'type': 'str'},
Expand All @@ -72,6 +76,7 @@ class IdentityProviderUpdateParameters(Model):
def __init__(self, **kwargs):
super(IdentityProviderUpdateParameters, self).__init__(**kwargs)
self.type = kwargs.get('type', None)
self.signin_tenant = kwargs.get('signin_tenant', None)
self.allowed_tenants = kwargs.get('allowed_tenants', None)
self.authority = kwargs.get('authority', None)
self.signup_policy_name = kwargs.get('signup_policy_name', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ class IdentityProviderUpdateParameters(Model):
:param type: Identity Provider Type identifier. Possible values include:
'facebook', 'google', 'microsoft', 'twitter', 'aad', 'aadB2C'
:type type: str or ~azure.mgmt.apimanagement.models.IdentityProviderType
:param signin_tenant: The TenantId to use instead of Common when logging
into Active Directory
:type signin_tenant: str
:param allowed_tenants: List of Allowed Tenants when configuring Azure
Active Directory login.
:type allowed_tenants: list[str]
Expand Down Expand Up @@ -59,6 +62,7 @@ class IdentityProviderUpdateParameters(Model):

_attribute_map = {
'type': {'key': 'properties.type', 'type': 'str'},
'signin_tenant': {'key': 'properties.signinTenant', 'type': 'str'},
'allowed_tenants': {'key': 'properties.allowedTenants', 'type': '[str]'},
'authority': {'key': 'properties.authority', 'type': 'str'},
'signup_policy_name': {'key': 'properties.signupPolicyName', 'type': 'str'},
Expand All @@ -69,9 +73,10 @@ class IdentityProviderUpdateParameters(Model):
'client_secret': {'key': 'properties.clientSecret', 'type': 'str'},
}

def __init__(self, *, type=None, allowed_tenants=None, authority: str=None, signup_policy_name: str=None, signin_policy_name: str=None, profile_editing_policy_name: str=None, password_reset_policy_name: str=None, client_id: str=None, client_secret: str=None, **kwargs) -> None:
def __init__(self, *, type=None, signin_tenant: str=None, allowed_tenants=None, authority: str=None, signup_policy_name: str=None, signin_policy_name: str=None, profile_editing_policy_name: str=None, password_reset_policy_name: str=None, client_id: str=None, client_secret: str=None, **kwargs) -> None:
super(IdentityProviderUpdateParameters, self).__init__(**kwargs)
self.type = type
self.signin_tenant = signin_tenant
self.allowed_tenants = allowed_tenants
self.authority = authority
self.signup_policy_name = signup_policy_name
Expand Down