public class ATServer2 extends TokenAwareServer implements ATServer
Created by Jeff Gaynor
on 6/4/13 at 4:33 PM
Modifier and Type | Class and Description |
---|---|
static class |
ATServer2.IDTokenEntry
Place holder class for storing ID tokens.
|
Constructor and Description |
---|
ATServer2(ServiceClient serviceClient,
String wellKnown,
boolean oidcEnabled,
boolean useBasicAuth) |
Modifier and Type | Method and Description |
---|---|
protected ATResponse2 |
createResponse(AccessToken at,
RefreshToken rt) |
protected ATResponse2 |
getAccessToken(ATRequest atRequest)
Gets access token.
|
static HashMap<String,ATServer2.IDTokenEntry> |
getIDTokenStore() |
ATResponse |
processATRequest(ATRequest atRequest)
Processes access token request
|
getAndCheckIDToken, getAndCheckResponse, getJsonWebKeys, getServiceClient
getAddress, process
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
public ATServer2(ServiceClient serviceClient, String wellKnown, boolean oidcEnabled, boolean useBasicAuth)
public static HashMap<String,ATServer2.IDTokenEntry> getIDTokenStore()
public ATResponse processATRequest(ATRequest atRequest)
processATRequest
in interface ATServer
atRequest
- Access token requestprotected ATResponse2 getAccessToken(ATRequest atRequest)
atRequest
- Access token requestprotected ATResponse2 createResponse(AccessToken at, RefreshToken rt)
Copyright © 2019. All Rights Reserved.