Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
08224b49
Commit
08224b49
authored
Jun 11, 2021
by
Tan Le
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert SAML module to class
parent
a70c7aa2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
ee/app/services/group_saml/saml_provider/base_service.rb
ee/app/services/group_saml/saml_provider/base_service.rb
+1
-1
ee/app/services/group_saml/saml_provider/create_service.rb
ee/app/services/group_saml/saml_provider/create_service.rb
+3
-3
ee/app/services/group_saml/saml_provider/update_service.rb
ee/app/services/group_saml/saml_provider/update_service.rb
+3
-2
No files found.
ee/app/services/group_saml/saml_provider/base_service.rb
View file @
08224b49
...
...
@@ -2,7 +2,7 @@
module
GroupSaml
module
SamlProvider
module
BaseService
class
BaseService
extend
FastGettext
::
Translation
attr_reader
:saml_provider
,
:params
,
:current_user
...
...
ee/app/services/group_saml/saml_provider/create_service.rb
View file @
08224b49
# frozen_string_literal: true
require_dependency
'group_saml/saml_provider/base_service'
module
GroupSaml
module
SamlProvider
class
CreateService
include
BaseService
class
CreateService
<
BaseService
def
initialize
(
current_user
,
group
,
params
:)
@group
=
group
super
(
current_user
,
group
.
build_saml_provider
,
params:
params
)
...
...
ee/app/services/group_saml/saml_provider/update_service.rb
View file @
08224b49
# frozen_string_literal: true
require_dependency
'group_saml/saml_provider/base_service'
module
GroupSaml
module
SamlProvider
class
UpdateService
include
BaseService
class
UpdateService
<
BaseService
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment