public final class MockDirectClient
extends org.pac4j.core.client.DirectClient<org.pac4j.core.credentials.Credentials,org.pac4j.core.profile.CommonProfile>
| Constructor and Description |
|---|
MockDirectClient(String name,
org.pac4j.core.credentials.Credentials credentials,
org.pac4j.core.profile.CommonProfile profile) |
MockDirectClient(String name,
ReturnCredentials returnCredentials,
org.pac4j.core.profile.CommonProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
org.pac4j.core.credentials.Credentials |
getCredentials(org.pac4j.core.context.WebContext context) |
protected void |
internalInit(org.pac4j.core.context.WebContext context) |
protected org.pac4j.core.profile.CommonProfile |
retrieveUserProfile(org.pac4j.core.credentials.Credentials credentials,
org.pac4j.core.context.WebContext context) |
public MockDirectClient(String name, org.pac4j.core.credentials.Credentials credentials, org.pac4j.core.profile.CommonProfile profile)
public MockDirectClient(String name, ReturnCredentials returnCredentials, org.pac4j.core.profile.CommonProfile profile)
protected void internalInit(org.pac4j.core.context.WebContext context)
internalInit in class org.pac4j.core.util.InitializableWebObjectpublic org.pac4j.core.credentials.Credentials getCredentials(org.pac4j.core.context.WebContext context)
throws org.pac4j.core.exception.HttpAction
org.pac4j.core.exception.HttpActionprotected org.pac4j.core.profile.CommonProfile retrieveUserProfile(org.pac4j.core.credentials.Credentials credentials,
org.pac4j.core.context.WebContext context)
throws org.pac4j.core.exception.HttpAction
retrieveUserProfile in class org.pac4j.core.client.BaseClient<org.pac4j.core.credentials.Credentials,org.pac4j.core.profile.CommonProfile>org.pac4j.core.exception.HttpActionCopyright © 2016. All Rights Reserved.