use of com.amplifyframework.api.aws.ApiAuthProviders in project amplify-android by aws-amplify.
the class AuthRuleRequestDecoratorTest method setup.
/**
* Sets up the test.
*/
@Before
public void setup() {
ApiAuthProviders authProviders = ApiAuthProviders.builder().cognitoUserPoolsAuthProvider(new FakeCognitoAuthProvider()).oidcAuthProvider(new FakeOidcAuthProvider()).build();
decorator = new AuthRuleRequestDecorator(authProviders);
}
Aggregations