void IFubuRegistryExtension.Configure(FubuRegistry registry) { registry.Actions.FindWith <GoogleEndpoints>(); registry.Services <GoogleServiceRegistry>(); registry.Policies.Add <AttachDefaultGoogleView>(); registry.Extensions().For(new OAuth2ContentExtension <GoogleLoginRequest>()); }
void IFubuRegistryExtension.Configure(FubuRegistry registry) { registry.Actions.FindWith <TwitterEndpoints>(); registry.Services <TwitterServiceRegistry>(); registry.Policies.Add <AttachDefaultTwitterView>(); registry.Services(x => x.SetServiceIfNone(_settings)); registry.Extensions().For(new TwitterContentExtension()); }
public void Configure(FubuRegistry registry) { registry.Actions.FindWith <WindowsActionSource>(); registry.Services <WindowsAuthenticationServiceRegistry>(); registry.Extensions().For(new WindowsLoginExtension()); }