Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
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
2 changes: 1 addition & 1 deletion azure_sdk/lib/azure_sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.

require 'v2017_03_09/v2017_03_09_profile_client'
require 'latest/latest_profile_client'
require 'v2017_03_09/v2017_03_09_profile_client'
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ def initialize
# @return [Boolean] Whether to allow implicit grant flow for OAuth2
attr_accessor :oauth2allow_implicit_flow

# @return [Array<RequiredResourceAccess>] Specifies resources that this
# application requires access to and the set of OAuth permission scopes
# and application roles that it needs under each of those resources. This
# pre-configuration of required resource access drives the consent
# experience.
attr_accessor :required_resource_access


#
# Mapper for Application class as Ruby Hash.
Expand Down Expand Up @@ -189,6 +196,21 @@ def self.mapper()
type: {
name: 'Boolean'
}
},
required_resource_access: {
required: false,
serialized_name: 'requiredResourceAccess',
type: {
name: 'Sequence',
element: {
required: false,
serialized_name: 'RequiredResourceAccessElementType',
type: {
name: 'Composite',
class_name: 'RequiredResourceAccess'
}
}
}
}
}
}
Expand Down