Examples of Google


Examples of com.rexsl.page.auth.Google

    @Inset.Runtime
    public final AuthInset auth() {
        // @checkstyle LineLength (4 lines)
        return new AuthInset(this, Manifests.read("S3Auth-SecurityKey"))
            .with(new Facebook(this, Manifests.read("S3Auth-FbId"), Manifests.read("S3Auth-FbSecret")))
            .with(new Google(this, Manifests.read("S3Auth-GoogleId"), Manifests.read("S3Auth-GoogleSecret")))
            .with(new Github(this, Manifests.read("S3Auth-GithubId"), Manifests.read("S3Auth-GithubSecret")));
    }
View Full Code Here

Examples of io.lumify.web.auth.oauth.routes.Google

        app.get("/jsc/configuration/plugins/authentication/less/oauth.less", lessHandler);
        app.get("/jsc/configuration/plugins/authentication/img/twitter.png", new StaticResourceHandler(this.getClass(), "/oauth/img/twitter.png", "image/png"));
        app.get("/jsc/configuration/plugins/authentication/img/google.png", new StaticResourceHandler(this.getClass(), "/oauth/img/google.png", "image/png"));

        app.get("/oauth/twitter", new Twitter(this.twitterConfig, this.userRepository));
        app.get("/oauth/google", new Google(this.googleConfig, this.userRepository));
    }
View Full Code Here

Examples of org.springframework.social.google.api.Google

        new GoogleAdapter());
  }

  @Override
  protected String extractProviderUserId(AccessGrant accessGrant) {
    Google api = ((GoogleServiceProvider)getServiceProvider()).getApi(accessGrant.getAccessToken());
      UserProfile userProfile = getApiAdapter().fetchUserProfile(api);
      return userProfile.getUsername();
  }
View Full Code Here

Examples of org.zkoss.openlayers.layer.Google

  @Wire
  private Openlayers map;

  public void doAfterCompose(Window comp) throws Exception {
    super.doAfterCompose(comp);
    map.addLayer(new Google("Google Streets",  toMap(pair("type", Google.Type.NORMAL))));
    map.addLayer(new Google("Google Satellite", toMap(pair("numZoomLevels", 20))));
    map.addLayer(new Google("Google Hybrid", toMap(pair("type", Google.Type.HYBRID), pair("numZoomLevels", 20))));
    map.addLayer(new Google("Google Physical", toMap(pair("type", Google.Type.SATELLITE), pair("numZoomLevels", 22))));
    map.addControl(new LayerSwitcher());
    map.setCenter(new LonLat(10.2, 48.9), 5, false, false);
  }
View Full Code Here

Examples of org.zkoss.openlayers.layer.Google

        pair("units", "m"),
        pair("maxResolution", 156543.0339),
        pair("maxExtent", new Bounds(-20037508, -20037508, 20037508,
            20037508))));

    map.addLayer(new Google("Google Layer", toMap(pair(
        "sphericalMercator", true))));

    // prepare to style the data
    StyleMap styleMap = new StyleMap(toMap(pair("strokeColor", "black"),
        pair("strokeWidth", 2), pair("strokeOpacity", 0.5),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.