public abstract class OpenIdSession extends Object
| Constructor and Description |
|---|
OpenIdSession(org.openid4java.consumer.ConsumerManager manager,
org.openid4java.discovery.DiscoveryInformation endpoint,
String finishUrl) |
OpenIdSession(org.openid4java.consumer.ConsumerManager manager,
String openid,
String finishUrl) |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doCommenceLogin()
Starts the login session.
|
org.kohsuke.stapler.HttpResponse |
doFinishLogin(org.kohsuke.stapler.StaplerRequest request)
When the identity provider is done with its thing, the user comes back here.
|
static OpenIdSession |
getCurrent()
Gets the
OpenIdSession associated with HTTP session in the current extend. |
protected abstract org.kohsuke.stapler.HttpResponse |
onSuccess(Identity identity) |
public OpenIdSession(org.openid4java.consumer.ConsumerManager manager,
org.openid4java.discovery.DiscoveryInformation endpoint,
String finishUrl)
public org.kohsuke.stapler.HttpResponse doCommenceLogin()
throws IOException,
org.openid4java.OpenIDException
IOExceptionorg.openid4java.OpenIDExceptionpublic org.kohsuke.stapler.HttpResponse doFinishLogin(org.kohsuke.stapler.StaplerRequest request)
throws IOException,
org.openid4java.OpenIDException
IOExceptionorg.openid4java.OpenIDExceptionprotected abstract org.kohsuke.stapler.HttpResponse onSuccess(Identity identity) throws IOException
IOExceptionpublic static OpenIdSession getCurrent()
OpenIdSession associated with HTTP session in the current extend.Copyright © 2016. All rights reserved.