added default error handler to config/aws-cognito-auth, also added support for an error handler class (similar to an event handler)
use Pallant\LaravelAwsCognitoAuth\AuthAttempt;
class AwsCognitoHandler {
public function handle(AuthAttempt $response) {
// TODO: handle error response
}
}
added default error handler to config/aws-cognito-auth, also added support for an error handler class (similar to an event handler)