Search in sources :

Example 1 with OktaHttpClient

use of com.okta.oidc.net.OktaHttpClient in project okta-oidc-android by okta.

the class BaseRequestTest method setUp.

@Before
public void setUp() throws Exception {
    mEndPoint = new MockEndPoint();
    mRequest = new BaseRequest<String, AuthorizationException>() {

        @Override
        public String executeRequest(OktaHttpClient client) throws AuthorizationException {
            return null;
        }
    };
    mClientFactory = new HttpClientFactory();
    mClientFactory.setClientType(mClientType);
    mHttpClient = mClientFactory.build();
}
Also used : OktaHttpClient(com.okta.oidc.net.OktaHttpClient) AuthorizationException(com.okta.oidc.util.AuthorizationException) MockEndPoint(com.okta.oidc.util.MockEndPoint) HttpClientFactory(com.okta.oidc.util.HttpClientFactory) Before(org.junit.Before)

Aggregations

OktaHttpClient (com.okta.oidc.net.OktaHttpClient)1 AuthorizationException (com.okta.oidc.util.AuthorizationException)1 HttpClientFactory (com.okta.oidc.util.HttpClientFactory)1 MockEndPoint (com.okta.oidc.util.MockEndPoint)1 Before (org.junit.Before)1