This repository has been archived by the owner on Jul 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
login.go
99 lines (77 loc) · 4.26 KB
/
login.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
package uaa
/*
* File Generated by enaml generator
* !!! Please do not edit this file !!!
*/
type Login struct {
/*HomeRedirect - Descr: URL for configuring a custom home page Default: <nil>
*/
HomeRedirect interface{} `yaml:"home_redirect,omitempty"`
/*Notifications - Descr: The url for the notifications service (configure to use Notifications Service instead of SMTP server) Default: <nil>
*/
Notifications *Notifications `yaml:"notifications,omitempty"`
/*Protocol - Descr: Scheme to use for HTTP communication (http/https) Default: https
*/
Protocol interface{} `yaml:"protocol,omitempty"`
/*Logout - Descr: A list of URLs. When this list is non null, including empty, and disable=false, logout redirects are allowed, but limited to the whitelist URLs. If a redirect parameter value is not white listed, redirect will be to the default URL. Default: <nil>
*/
Logout *Logout `yaml:"logout,omitempty"`
/*Tiles - Descr: A list of links to other services to show on the landing page after log in. Default: <nil>
*/
Tiles interface{} `yaml:"tiles,omitempty"`
/*SpringProfiles - Descr: Deprecated. Use uaa.ldap.enabled - login.spring_profiles is used for backwards compatibility to enable ldap from login config Default: <nil>
*/
SpringProfiles interface{} `yaml:"spring_profiles,omitempty"`
/*Branding - Descr: These links appear on the footer of all UAA pages. You may choose to add multiple urls for things like Support, Terms of Service etc. Default: <nil>
*/
Branding *Branding `yaml:"branding,omitempty"`
/*Links - Descr: URL for requesting password reset Default: /forgot_password
*/
Links *Links `yaml:"links,omitempty"`
/*InvitationsEnabled - Descr: Allows users to send invitations to email addresses outside the system and invite them to create an account. Disabled by default. Default: <nil>
*/
InvitationsEnabled interface{} `yaml:"invitations_enabled,omitempty"`
/*Messages - Descr: A nested or flat hash of messages that the login server uses to display UI message
This will be flattened into a java.util.Properties file. The example below will lead
to four properties, where the key is the concatenated value delimited by dot, for example scope.tokens.read=message
Default: <nil>
*/
Messages interface{} `yaml:"messages,omitempty"`
/*UaaBase - Descr: Deprecated. Use uaa.url for setting the location of UAA. Default: <nil>
*/
UaaBase interface{} `yaml:"uaa_base,omitempty"`
/*Url - Descr: Set if you have an external login server.
The UAA uses this link on by its email service to create links
The UAA uses this as a base domain for internal hostnames so that subdomain can be detected
This defaults to the uaa.url property, and if not set, to login.<domain>
Default: <nil>
*/
Url interface{} `yaml:"url,omitempty"`
/*Prompt - Descr: The text used to prompt for a password during login Default: Password
*/
Prompt *Prompt `yaml:"prompt,omitempty"`
/*SignupsEnabled - Descr: Deprecated. Use login.self_service_links_enabled. Instructs UAA to use 'enable account creation flow'. Enabled by default. Default: true
*/
SignupsEnabled interface{} `yaml:"signups_enabled,omitempty"`
/*AssetBaseUrl - Descr: Base url for static assets, allows custom styling of the login server. Use '/resources/pivotal' for Pivotal style. Default: /resources/oss
*/
AssetBaseUrl interface{} `yaml:"asset_base_url,omitempty"`
/*Saml - Descr: Private key for the service provider certificate. Default: <nil>
*/
Saml *Saml `yaml:"saml,omitempty"`
/*Ldap - Descr: Deprecated. Use uaa.ldap.sslCertificate - login.ldap prefix is used for backwards compatibility to enable ldap from login config Default: <nil>
*/
Ldap *LoginLdap `yaml:"ldap,omitempty"`
/*Smtp - Descr: SMTP server configuration, for password reset emails etc. Default: <nil>
*/
Smtp interface{} `yaml:"smtp,omitempty"`
/*SelfServiceLinksEnabled - Descr: Enable self-service account creation and password resets links. Default: <nil>
*/
SelfServiceLinksEnabled interface{} `yaml:"self_service_links_enabled,omitempty"`
/*EntityId - Descr: Deprecated. Use login.saml.entityid Default: <nil>
*/
EntityId interface{} `yaml:"entity_id,omitempty"`
/*Analytics - Descr: Google analytics code. If Google Analytics is desired set both login.analytics.code and login.analytics.domain Default: <nil>
*/
Analytics *Analytics `yaml:"analytics,omitempty"`
}