File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,13 +59,31 @@ impl XalAppParameters {
5959 }
6060 }
6161
62+ pub fn gamepass ( ) -> Self {
63+ Self {
64+ app_id : "000000004c20a908" . into ( ) ,
65+ title_id : "1016898439" . into ( ) ,
66+ redirect_uri : "ms-xal-000000004c20a908://auth" . into ( ) ,
67+ }
68+ }
69+
6270 pub fn gamepass_beta ( ) -> Self {
6371 Self {
6472 app_id : "000000004c20a908" . into ( ) ,
6573 title_id : "1016898439" . into ( ) ,
6674 redirect_uri : "ms-xal-public-beta-000000004c20a908://auth" . into ( ) ,
6775 }
6876 }
77+
78+ /// Family settings is somewhat special
79+ /// Uses default oauth20_desktop.srf redirect uri
80+ pub fn family_settings ( ) -> Self {
81+ Self {
82+ app_id : "00000000482C8F49" . into ( ) ,
83+ title_id : "1618633878" . into ( ) ,
84+ redirect_uri : "https://login.live.com/oauth20_desktop.srf" . into ( ) ,
85+ }
86+ }
6987}
7088
7189impl Default for XalAppParameters {
@@ -108,7 +126,6 @@ impl Default for XalClientParameters {
108126 }
109127}
110128
111-
112129#[ cfg( test) ]
113130mod tests {
114131 use super :: * ;
You can’t perform that action at this time.
0 commit comments