@Extension public class TeamsExtension extends OpenIdExtension
Modifier and Type | Field and Description |
---|---|
static boolean |
DISABLE
Escape hatch for people affected by JENKINS-14843 until we switch to POST.
|
Constructor and Description |
---|
TeamsExtension() |
Modifier and Type | Method and Description |
---|---|
void |
extend(org.openid4java.message.AuthRequest authRequest)
Extend the authentication request.
|
void |
process(org.openid4java.message.AuthSuccess authSuccess,
Identity id)
Process the authentication success.
|
all, extendFetch, extendRequest, getMessageAs, isApplicable, processResponse
public static boolean DISABLE
public void extend(org.openid4java.message.AuthRequest authRequest) throws org.openid4java.message.MessageException
OpenIdExtension
The implementation may add extensions to authRequest
using
Message.addExtension(org.openid4java.message.MessageExtension)
.
extend
in class OpenIdExtension
authRequest
- the authentication requestorg.openid4java.message.MessageException
- if there is a message error extending the requestpublic void process(org.openid4java.message.AuthSuccess authSuccess, Identity id) throws org.openid4java.message.MessageException
OpenIdExtension
The implementation may extract MessageExtension
implementations from authSuccess
and add information to id
.
process
in class OpenIdExtension
authSuccess
- the authentication success.id
- the identity.org.openid4java.message.MessageException
- if there is a message error processing the success.Copyright © 2016–2020. All rights reserved.