scimaenaga 0.4.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,59 +0,0 @@
1
- # This file would normally be in config > initializers but
2
- # is included here because it is essentially a spec helper
3
-
4
- ScimRails.configure do |config|
5
- config.basic_auth_model = "Company"
6
- config.scim_users_model = "User"
7
-
8
- config.basic_auth_model_searchable_attribute = :subdomain
9
- config.basic_auth_model_authenticatable_attribute = :api_token
10
- config.scim_users_scope = :users
11
- config.scim_users_list_order = :id
12
-
13
- config.signing_algorithm = "HS256"
14
- config.signing_secret = "2d6806dd11c2fece2e81b8ca76dcb0062f5b08e28e3264e8ba1c44bbd3578b70"
15
-
16
- config.user_deprovision_method = :archive!
17
- config.user_reprovision_method = :unarchive!
18
-
19
- config.mutable_user_attributes = [
20
- :first_name,
21
- :last_name,
22
- :email
23
- ]
24
-
25
- config.queryable_user_attributes = {
26
- userName: :email,
27
- givenName: :first_name,
28
- familyName: :last_name,
29
- email: :email
30
- }
31
-
32
- config.mutable_user_attributes_schema = {
33
- name: {
34
- givenName: :first_name,
35
- familyName: :last_name
36
- },
37
- emails: [
38
- {
39
- value: :email
40
- }
41
- ]
42
- }
43
-
44
- config.user_schema = {
45
- schemas: ["urn:ietf:params:scim:schemas:core:2.0:User"],
46
- id: :id,
47
- userName: :email,
48
- name: {
49
- givenName: :first_name,
50
- familyName: :last_name
51
- },
52
- emails: [
53
- {
54
- value: :email
55
- },
56
- ],
57
- active: :unarchived?
58
- }
59
- end