@AutoConfig(value="social_link")
public class SocialLink
extends act.controller.Controller.Util
| Modifier and Type | Field and Description |
|---|---|
static org.osgl.util.Const<String> |
LOGIN_REDIRECT |
static osgl.version.Version |
VERSION |
| Constructor and Description |
|---|
SocialLink() |
| Modifier and Type | Method and Description |
|---|---|
org.osgl.mvc.result.Result |
authCallback(SocialProvider provider,
String code,
String state,
String act_callback,
String act_payload,
act.event.EventBus eventBus) |
String |
socialRedirectLink(SocialProvider provider,
String callback,
String payload,
act.app.ActionContext context)
Returns the auth URL so in certain case the pure front end app (e.g.
|
org.osgl.mvc.result.Result |
startSocialLink(SocialProvider provider,
String callback,
String payload,
act.app.ActionContext context)
Post to this endpoint to trigger the social authenticate process
|
accepted, badRequest, badRequest, badRequest, badRequest, badRequestIf, badRequestIf, badRequestIf, badRequestIf, badRequestIfBlank, badRequestIfBlank, badRequestIfBlank, badRequestIfBlank, badRequestIfNot, badRequestIfNot, badRequestIfNot, badRequestIfNot, badRequestIfNull, badRequestIfNull, badRequestIfNull, badRequestIfNull, barcode, binary, binary, binary, conflict, conflict, conflict, conflict, conflictIf, conflictIf, conflictIf, conflictIf, conflictIfNot, conflictIfNot, conflictIfNot, conflictIfNot, created, created, download, download, download, download, download, download, forbidden, forbidden, forbidden, forbidden, forbiddenIf, forbiddenIf, forbiddenIf, forbiddenIf, forbiddenIfNot, forbiddenIfNot, forbiddenIfNot, forbiddenIfNot, forward, found, found, foundIf, foundIfNot, html, inferPrimitiveResult, inferResult, inferResult, inferResult, inferResult, inferResult, inferResult, inferResult, json, json, jsonMap, jwt, moved, moved, notAcceptable, notAcceptable, notFound, notFound, notFoundIf, notFoundIf, notFoundIfNot, notFoundIfNot, notFoundIfNull, notFoundIfNull, notModified, notModified, ok, permanentRedirect, permanentRedirect, qrcode, redirect, redirect, redirectIf, redirectIf, redirectIfNot, redirectIfNot, render, renderBarcode, renderBinary, renderBinary, renderBinary, renderHtml, renderJson, renderJson, renderJsonMap, renderJwt, renderQrcode, renderTemplate, renderTemplate, renderText, renderXml, seeOther, seeOther, seeOtherIf, seeOtherIfNot, template, template, temporaryRedirect, temporaryRedirect, text, unauthorized, unauthorized, unauthorized, unauthorizedIf, unauthorizedIf, unauthorizedIf, unauthorizedIfNot, unauthorizedIfNot, unauthorizedIfNot, xmlpublic static final osgl.version.Version VERSION
public static final org.osgl.util.Const<String> LOGIN_REDIRECT
public org.osgl.mvc.result.Result startSocialLink(SocialProvider provider, String callback, String payload, act.app.ActionContext context)
Post to this endpoint to trigger the social authenticate process
public String socialRedirectLink(SocialProvider provider, String callback, String payload, act.app.ActionContext context)
Returns the auth URL so in certain case the pure front end app (e.g. ionic) can fetch it and initiate redirect from the client side (to manipulate headers like User-Agent)
public org.osgl.mvc.result.Result authCallback(SocialProvider provider, String code, String state, String act_callback, String act_payload, act.event.EventBus eventBus)
Copyright © 2016–2018 ActFramework. All rights reserved.